codeur/Run yarn audit with reviewdog
🐶 Run yarn audit 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 |
|---|---|---|---|
| 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 |
| filter_mode | Filtering mode for the reviewdog command [added,diff_context,file,nofilter]. Default is added. | — | added |
| github_token | GITHUB_TOKEN | — | ${{ github.token }} |
| level | Report level for reviewdog [info,warning,error] | — | error |
| reporter | Reporter of reviewdog command [github-pr-check,github-check,github-pr-review]. Default is github-check. | — | github-check |
| reviewdog_flags | Additional reviewdog flags | — | "" |
| skip_install | Do not install yarn (it must be available in the environment). Default: `false` | — | true |
| tool_name | Tool name to use for reviewdog reporter | — | yarn audit |
| workdir | The directory from which to look for and run yarn audit. Default '.' | — | . |
| yarn_audit_flags | Yarn audit flags. (yarn audit --json <yarn_audit_flags>) | — | "" |
Outputs
no outputs