scacap/Run ktlint with reviewdog
🐶 Run ktlint with reviewdog on pull requests to enforce best practices
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | GITHUB_TOKEN | yes | — |
| level | Report level for reviewdog [info,warning,error] | no | error |
| reporter | Reporter of reviewdog command [github-pr-check,github-check,github-pr-review]. Default is github-pr-check. | no | github-pr-check |
| filter_mode | Filtering mode for the reviewdog command [added,diff_context,file,nofilter]. Default is added. | no | added |
| fail_on_error | Exit code for reviewdog when errors are found [true,false] Default is `false`. | no | false |
| relative | Print files relative to the working directory | no | true |
| android | Run Ktlint with Android Kotlin Style Guide | no | false |
| baseline | Use a baseline configuration | no | "" |
| ktlint_version | Defines the ktlint version to use | no | latest |
| name | Reviewdog report name | no | ktlint |
| file_glob | Optionally defines a file glob to identify files to be checked | no | "" |
| custom_rule_path | Path to custom rule set JAR | no | "" |
Outputs
no outputs