actions-marketplace-validations/Run stylelint with reviewdog
🐶 Run stylelint 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. | yes | ${{ github.token }} |
| level | Report level for reviewdog [info,warning,error] | — | error |
| 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. Whether reviewdog should fail when errors are found. [true,false] - This is useful for failing CI builds. | — | false |
| filter_mode | Reviewdog filter mode [added, diff_context, file, nofilter] | — | added |
| name | Report name | — | stylelint |
| packages | Additional NPM packages | — | "" |
| reporter | Reporter of reviewdog command [github-pr-check,github-pr-review,github-check]. Default is github-pr-check. github-pr-review can use Markdown and add a link to rule page in reviewdog reports. | — | github-pr-check |
| stylelint_input | Files or glob. Default: `**/*.css`. It's same as `[input]` of stylelint. | — | **/*.css |
| stylelint_config | It's same as `--config` flag of stylelint. | — | — |
| stylelint_ignore | Files or glob. It's the same as `--ignore-pattern` of stylelint | — | — |
| workdir | The directory from which to look for and run stylelint. Default: '.' | — | . |
Outputs
no outputs