You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the gitleaks-action workflow is executed through github workflows then internally it executes the command
/tmp/gitleaks-8.16.1/gitleaks detect --redact -v --exit-code=2 --report-format=sarif --report-path=results.sarif --log-level=debug --log-opts=--no-merges --first-parent e73a44d998131a96a95fd00b6be333ad5bb3dc09^..3d6334b5a261445b324da6cc29f5e35f81efb269
But when I'm executing this command directly I'm getting this error:
gitleaks detect --redact -v --exit-code=2 --log-level=debug --log-opts=--no-merges --first-parent 'e73a44d998131a96a95fd00b6be333ad5bb3dc09^..20849092156b04953da6648b9f07bd7d53ab13d7'
Error: unknown flag: --first-parent
Usage:
gitleaks detect [flags]
I need to understand why this --first-parent flag is not available for me or is their a workaround which I can try?
I've downloaded the same gitleaks version.
The text was updated successfully, but these errors were encountered:
When the gitleaks-action workflow is executed through github workflows then internally it executes the command
/tmp/gitleaks-8.16.1/gitleaks detect --redact -v --exit-code=2 --report-format=sarif --report-path=results.sarif --log-level=debug --log-opts=--no-merges --first-parent e73a44d998131a96a95fd00b6be333ad5bb3dc09^..3d6334b5a261445b324da6cc29f5e35f81efb269
But when I'm executing this command directly I'm getting this error:
gitleaks detect --redact -v --exit-code=2 --log-level=debug --log-opts=--no-merges --first-parent 'e73a44d998131a96a95fd00b6be333ad5bb3dc09^..20849092156b04953da6648b9f07bd7d53ab13d7'
Error: unknown flag: --first-parent
Usage:
gitleaks detect [flags]
I need to understand why this --first-parent flag is not available for me or is their a workaround which I can try?
I've downloaded the same gitleaks version.
The text was updated successfully, but these errors were encountered: