karankohli-cf/Run GITLEAKS with reviewdog
🐶 Run GITLEAKS with reviewdog on pull requests to enforce security best practices
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Nov 3, 2022
- License
- Apache 2.0
Pinned Snippet
uses: karankohli-cf/action-gitleaks@4dd96a2a7cb2e0d1583da52077daa24121b0b93b # no releases — HEAD as of 2026-07-11tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | GITHUB_TOKEN | yes | ${{ github.token }} |
| working_directory | Directory to run the action on, from the repo root. Default is . ( root of the repository) | no | . |
| level | Report level for reviewdog [info,warning,error] | no | error |
| reporter | Reporter of reviewdog command [github-pr-check,github-pr-review]. Default is github-pr-check. | no | github-pr-check |
| filter_mode | Filtering 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 |
| flags | Additional reviewdog flags | no | "" |
| report_url | URL to report false positives | no | https://github.com/zricethezav/gitleaks/issues/new?assignees=&labels=bug&template=bug_report.md&title=False%20positive%20in%20Gitleaks |
| gitleaks_version | The version of GITLEAKS to install. Default is latest. | no | latest |
| gitleaks_flags | List of arguments to send to gitleaks For the output to be parsable by reviewdog --format=checkstyle is enforced Default is blank. | no | "" |
| gitleaks_config | The path of the config for gitleaks. Default is . | no | zricethezav/gitleaks/contents/config/gitleaks.toml |
| gitleaks_scan_path | The path of the files or directory to run the scan on. Default is . | no | . |
Outputs
| name | description |
|---|---|
| gitleaks-return-code | gitleaks command return code |
| reviewdog-return-code | reviewdog command return code |