diff --git a/README.md b/README.md index 491dabb..afd38e7 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,7 @@ This workflow action runs CodeAuditor scan on your website and creates new GitHu | token | yes | string | Your personal CodeAuditor token that can be found on CodeAuditor's How It Works page | url | yes | string | The url used on your CodeAuditor scan | AlertIssue | no | boolean | Set to "true" if you want to switch on issue alert feature +| GoMaxthread | no | number | Set the maximum number of threads for Golang web scraping (Default is 100) ## Job Summaries diff --git a/action.yml b/action.yml index 328ce55..e055892 100644 --- a/action.yml +++ b/action.yml @@ -19,6 +19,10 @@ inputs: description: 'Switch on/off auto-generated alert issue' required: false default: true + GoMaxthread: + description: 'Set maximum number of threads for Link Scanning (Default to 100)' + required: false + default: 100 runs: using: "composite" @@ -30,7 +34,7 @@ runs: - name: "SSW CodeAuditor - Check broken links and performance" shell: bash run: | - docker run sswconsulting/codeauditor --token ${{inputs.token}} --url ${{inputs.url}} + docker run sswconsulting/codeauditor --token ${{inputs.token}} --url ${{inputs.url}} --maxthread {{inputs.GoMaxthread}} - name: "Check if new broken links/code errors/code warnings has come up" shell: bash run: |