practicalli/Clojure Style Action
A simple GitHub Actions to lint Clojure Code with clj-kondo
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | GITHUB_TOKEN. | no | ${{ github.token }} |
| level | Report level for reviewdog [info,warning,error] | no | 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. | 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 |
| reviewdog_flags | Additional reviewdog flags | no | "" |
| path | Base directory to run clj-kondo. Same as `[path]` of `find` command. | no | . |
| pattern | File patterns of target files. Same as `-name [pattern]` of `find` command. | no | *.clj* |
| exclude | Exclude patterns of target files. Same as `-not -path [exclude]` of `find` command. | no | — |
| cljstyle_config | Flags to pass to cljstyle `--config` option, which may either be in-line options or a path to a config file. | no | "" |
Outputs
no outputs