We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 950d628 commit e6b930dCopy full SHA for e6b930d
1 file changed
.github/workflows/secret-scanner.yml
@@ -20,7 +20,9 @@ jobs:
20
- name: TruffleHog Secret Scan
21
uses: trufflesecurity/trufflehog@ef6e76c3c4023279497fab4721ffa071a722fd05 # v3
22
with:
23
- extra_args: --only-verified --fail
+ # The v3 action injects --fail automatically on pull_request events.
24
+ # Passing --fail here triggers "flag 'fail' cannot be repeated".
25
+ extra_args: --only-verified
26
27
gitleaks:
28
runs-on: ubuntu-latest
@@ -64,4 +66,4 @@ jobs:
64
66
if [ $found -eq 1 ]; then
65
67
echo "::error::Potential hardcoded secrets detected. Use environment variables instead."
68
exit 1
- fi
69
+ fi
0 commit comments