actions-marketplace-validations/Run GitLeaks
Installs and runs GitLeaks in your actions workflow
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| version | GitLeaks version | yes | latest |
| config-path | Path to the config file | no | — |
| path | Path to source (git repo, directory, file; current working directory by default) | no | — |
| run | Set it to "true" to run GitLeaks, or "false" if you don't want it to run (you can do this later manually) | no | true |
| fail-on-error | Set "false" for exiting without an error when GitLeaks run failed | no | true |
| github-token | GitHub auth token. Since there's a default, this is typically not supplied by the user | no | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| gitleaks-bin | Path to the gitleaks binary file |
| sarif | Path to the report in SARIF format |
| exit-code | GitLeaks exit code (will be set only if "inputs.run" is "true") |