karankohli-cf/Run GITLEAKS with reviewdog

🐶 Run GITLEAKS with reviewdog on pull requests to enforce security best practices

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Nov 3, 2022
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: karankohli-cf/action-gitleaks@4dd96a2a7cb2e0d1583da52077daa24121b0b93b # no releases — HEAD as of 2026-07-11

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github_tokenGITHUB_TOKENyes${{ github.token }}
working_directoryDirectory to run the action on, from the repo root. Default is . ( root of the repository) no.
levelReport level for reviewdog [info,warning,error]noerror
reporterReporter of reviewdog command [github-pr-check,github-pr-review]. Default is github-pr-check. nogithub-pr-check
filter_modeFiltering for the reviewdog command [added,diff_context,file,nofilter]. Default is added. noadded
fail_on_errorExit code for reviewdog when errors are found [true,false] Default is `false`. nofalse
flagsAdditional reviewdog flagsno""
report_urlURL to report false positivesnohttps://github.com/zricethezav/gitleaks/issues/new?assignees=&labels=bug&template=bug_report.md&title=False%20positive%20in%20Gitleaks
gitleaks_versionThe version of GITLEAKS to install. Default is latest. nolatest
gitleaks_flagsList of arguments to send to gitleaks For the output to be parsable by reviewdog --format=checkstyle is enforced Default is blank. no""
gitleaks_configThe path of the config for gitleaks. Default is . nozricethezav/gitleaks/contents/config/gitleaks.toml
gitleaks_scan_pathThe path of the files or directory to run the scan on. Default is . no.
namedescription
gitleaks-return-codegitleaks command return code
reviewdog-return-codereviewdog command return code