nnichols/Clojure Lint 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 name pattern for target files, used verbatim as the `-name [pattern]` test of the `find` command. Leave empty (the default) to match the standard Clojure source extensions: .clj, .cljs, .cljc, .cljx, .cljd, .cljr. The `.git` directory is always pruned, so Git internals are never linted regardless of branch name. | no | "" |
| exclude | Exclude patterns of target files. Same as `-not -path [exclude]` of `find` command. | no | — |
| clj_kondo_config | Flags to pass to clj-kondo's `--config` option, which may either be in-line options or a path to a config file. | no | "" |
| clj_kondo_version | Version of clj-kondo to use, passed as the value of `:mvn/version` in clj-kondo's dependency map (e.g., `2026.04.15`). Defaults to `RELEASE`. | no | RELEASE |
Outputs
no outputs