gitleaks / gitleaks/gitleaks-action
Add support for max-archive-depth input to gitleaks-action
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 646
- Forks
- 195
- PR merge metrics
- No merged PRs in 30d
Description
I want to be able to specify max-archive-depth when gitleaks is run via the action, the same way I can specify max-archive depth when I run it via the command line.
It looks like I currently have no option to specify archive depth with the action, as it's not available via the the config , as an action import, nor does there seem to be any environment variable I can set.
It would be very helpful to be able to set the max-archive-depth value with the action through any of the above-mentioned mechanisms, so I don't have to fall back to using the command line tool to set the parameter.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names the action input and corresponding Gitleaks CLI option, but no repository files or tests. Start by locating the action's declared inputs and argument construction, then verify that setting max-archive-depth reaches Gitleaks and matches the CLI behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, javascript
- Domain
- ci-cd, security
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100