https://github.com/clj-holmes/clj-holmes-action
Action to execute clj-holmes in Clojure/Clojurescript projects.
https://github.com/clj-holmes/clj-holmes-action
clojure code-scanning sast security
Last synced: about 11 hours ago
JSON representation
Action to execute clj-holmes in Clojure/Clojurescript projects.
- Host: GitHub
- URL: https://github.com/clj-holmes/clj-holmes-action
- Owner: clj-holmes
- Created: 2021-12-01T18:23:28.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-22T20:08:51.000Z (almost 4 years ago)
- Last Synced: 2026-02-11T17:51:58.941Z (5 months ago)
- Topics: clojure, code-scanning, sast, security
- Language: Shell
- Homepage:
- Size: 10.7 KB
- Stars: 4
- Watchers: 0
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# clj-holmes action
Action to execute [clj-holmes](https://github.com/clj-holmes/clj-holmes) in Clojure/Clojurescript projects.
# Getting Started
Simply add the following snippet to your GitHub actions workflow.
```
- name: Scan
uses: clj-holmes/clj-holmes-action@main
```
## Inputs
It's also possible to specify the following:
- rule-repository, it can be an public or private git repository [Default: git://clj-holmes/clj-holmes-rules#main]
- output-type (json, sarif or stdout) [Default: sarif]
- output-file [Default: clj_holmes_scan_results.txt]
- fail-on-result (true or false) [Default: false]
```
- name: Scan
uses: clj-holmes/clj-holmes-action@main
with:
rules-repository: 'git://org/private-rules-repo#main'
output-type: 'json'
output-file: 'scan-results.json'
fail-on-result: 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```