{"id":28254825,"url":"https://github.com/practicalli/clojure-style-action","last_synced_at":"2025-07-02T06:06:35.716Z","repository":{"id":44412404,"uuid":"512514272","full_name":"practicalli/clojure-style-action","owner":"practicalli","description":"GitHub action checking Clojure format with cljstyle and reporting via reviewdog","archived":false,"fork":false,"pushed_at":"2022-07-10T22:41:08.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-16T04:33:01.248Z","etag":null,"topics":["github-actions"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/practicalli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-10T18:51:26.000Z","updated_at":"2022-07-11T06:23:33.000Z","dependencies_parsed_at":"2022-09-09T06:50:47.500Z","dependency_job_id":null,"html_url":"https://github.com/practicalli/clojure-style-action","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/practicalli/clojure-style-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/practicalli%2Fclojure-style-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/practicalli%2Fclojure-style-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/practicalli%2Fclojure-style-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/practicalli%2Fclojure-style-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/practicalli","download_url":"https://codeload.github.com/practicalli/clojure-style-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/practicalli%2Fclojure-style-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263083591,"owners_count":23411164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github-actions"],"created_at":"2025-05-19T20:15:56.785Z","updated_at":"2025-07-02T06:06:35.696Z","avatar_url":"https://github.com/practicalli.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clojure Style Action\n\nGitHub Action to format clojure using [cljstyle](https://github.com/greglook/cljstyle), adding comments to pull requests using [reviewdog](https://github.com/reviewdog/reviewdog) to simplify the code review experience.\n\n## Configuration options\n\n### `github_token`\n\nOptional.\n`${{ github.token }}` is used by default.\n\n### `level`\n\nOptional.\nReport level for reviewdog- must be one of `[info, warning, error]`.\nIt's same as `-level` flag of reviewdog.\n\n### `reporter`\n\nReporter of reviewdog command.\nMust be one of `[github-pr-check, github-pr-review, github-check]`.\nDefault is github-pr-check.\ngithub-pr-review can use Markdown and add a link to rule page in reviewdog reports.\n\n### `filter_mode`\n\nOptional.\nFiltering mode for the reviewdog command.\nMust be one of `[added, diff_context, file, nofilter]`.\nDefault is added.\n\n### `fail_on_error`\n\nOptional.\nSets and exceptional exit code for reviewdog when errors are found.\nMust be one of `[true, false]`.\nDefault is `false`.\n\n### `reviewdog_flags`\n\nOptional.\nAdditional reviewdog flags.\n\n### `path`\n\nOptional.\nBase directory to run clj-kondo.\nSame as `[path]` of `find` command.\nDefault: `.`\n\n### `pattern`\n\nOptional.\nFile patterns of target files.\nSame as `-name [pattern]` of `find` command.\nDefault: `*.clj*` (To capture `*.clj`, `*.cljs`, `*.cljc`, and `*.cljx`)\n\n### `exclude`\n\nOptional.\nExclude patterns of target files.\nSame as `-not -path [exclude]` of `find` command.\ne.g. `./git/*`\n\n### `cljstyle_config`\n\nOptional.\nFlags to pass to cljstye `--config` option, which may either be in-line options or a path to a config file.\n\nDefault: `'{:output {:pattern \"{{filename}}:{{row}}:{{col}}: {{message}}\"}}'`\n\n## Example usage\n\n### [.github/workflows/reviewdog.yml](.github/workflows/reviewdog.yml)\n\nTo receive automatic Pull Request comments with linter results:\n\n```yml\nname: Style Clojure\non: [pull_request]\njobs:\n  cljstyle:\n    name:  Workflow\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3.0.2\n      - name: cljstyle\n        uses: practicalli/clojure-style-action@v1\n        with:\n          github_token: ${{ secrets.github_token }}\n          reporter: github-pr-review\n```\n\n## Licensing\n\nCopyright © 2022 [Practicaqlli](https://practical.li/)\n\nDistributed under the [Creative Commons ShareAlike License](https://creativecommons.org)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpracticalli%2Fclojure-style-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpracticalli%2Fclojure-style-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpracticalli%2Fclojure-style-action/lists"}