Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gitleaks flags into the github action #161

Open
raghavmac opened this issue Jul 22, 2024 · 0 comments
Open

gitleaks flags into the github action #161

raghavmac opened this issue Jul 22, 2024 · 0 comments

Comments

@raghavmac
Copy link

Is it not possible to include the flags into the Github Action like below?

-  name: Validate
   uses: gitleaks/gitleaks-action@v2
   with:
     args: "--config=custom_path/.gitleaks.toml --log-opts=main"

Nothing happens with the above code. However, if I directly run the gitleaks detect with the above flags it works.

gitleaks detect --verbose --config=custom_path/.gitleaks.toml --log-opts=main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant