actions-marketplace-validations/Run staticcheck with reviewdog
🐶 Run staticcheck with reviewdog on pull requests to improve code review experience.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | GITHUB_TOKEN | — | ${{ github.token }} |
| workdir | Working directory relative to the root directory. | — | . |
| level | Report level for reviewdog [info,warning,error] | — | error |
| reporter | Reporter of reviewdog command [github-pr-check,github-check,github-pr-review]. | — | github-pr-review |
| filter_mode | Filtering mode for the reviewdog command [added,diff_context,file,nofilter]. Default is added. | — | added |
| fail_level | If set to `none`, always use exit code 0 for reviewdog. Otherwise, exit code 1 for reviewdog if it finds at least 1 issue with severity greater than or equal to the given level. Possible values: [none,any,info,warning,error] Default is `none`. | — | none |
| fail_on_error | Deprecated, use `fail_level` instead. Exit code for reviewdog when errors are found [true,false] Default is `false`. | — | false |
| reviewdog_flags | Additional reviewdog flags | — | "" |
| target | Target of staticcheck | — | ./... |
| staticcheck_flags | staticcheck flags | — | "" |
| use_go_install | Use go install to build staticcheck from source instead of downloading prebuilt binary | — | false |
Outputs
no outputs