mi-wada/Run yamllint with reviewdog GitHub Action
This Action runs yamllint with reviewdog. Supports a feature to run only on changed files.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Dec 21, 2024
- License
- MIT
Pinned Snippet
uses: mi-wada/yamllint-action@cc8ce58a5cf299f817448057551a4982d6a25196 # v0.0.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| yamllint_flags | Flags and args of yamllint command. | no | "" |
| only_changed | If true, lint only changed(added/modified) files in a pull request. | no | false |
| github_token | GITHUB_TOKEN. | — | ${{ github.token }} |
| level | Report level for reviewdog [info,warning,error] | — | error |
| 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 |
| 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 |
| reviewdog_flags | Additional reviewdog flags | — | "" |
Outputs
no outputs