gitleaks / gitleaks-action

Protect your secrets using Gitleaks-Action
https://gitleaks.io
Other
330 stars 129 forks source link

gitleaks flags into the github action #161

Open raghavmac opened 3 months ago

raghavmac commented 3 months ago

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