Skip to content

Action to execute clj-holmes in Clojure/Clojurescript projects.

Notifications You must be signed in to change notification settings

clj-holmes/clj-holmes-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

clj-holmes action

Action to execute 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 }}