Skip to content

Commit 96ed1df

Browse files
ci: remove redundant broken local trufflehog job from secret-scanner (#579)
## Problem `secret-scanner.yml` carried a local `trufflehog:` job that was both redundant and broken: - **Redundant** — the reusable `scan` job already runs `scan / trufflehog`. - **Unpinned action** — `trufflesecurity/trufflehog@main` fails the governance *workflow security linter* (SHA-pinned actions required). - **Duplicate flag** — `extra_args: --only-verified --fail` repeats the `--fail` the action injects itself, producing the runtime error `flag 'fail' cannot be repeated`. ## Fix Delete the redundant local `trufflehog:` job. Secret scanning is fully retained via the pinned reusable `scan` job (`secret-scanner-reusable.yml@3e4bd4c`), which runs trufflehog, gitleaks, and the rust/shell secret scanners. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 1f6ba66 commit 96ed1df

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

.github/workflows/secret-scanner.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,3 @@ jobs:
1313
scan:
1414
uses: hyperpolymath/standards/.github/workflows/secret-scanner-reusable.yml@3e4bd4c93911750727e2e4c66dff859e00079da0
1515
secrets: inherit
16-
trufflehog:
17-
runs-on: ubuntu-latest
18-
timeout-minutes: 10
19-
steps:
20-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
21-
with:
22-
fetch-depth: 0
23-
- name: TruffleHog Secret Scan
24-
uses: trufflesecurity/trufflehog@main
25-
with:
26-
extra_args: --only-verified --fail

0 commit comments

Comments
 (0)