Skip to content

Commit 7d024c1

Browse files
fix(ci): drop the leftover trufflehog step — the estate retired it for gitleaks (#73)
`quality.yml` carries a **trufflehog** step that the estate already decided against. The standards secret-scanner reusable records the ruling in its own header: > *"Rationale for gitleaks over trufflehog: … Trufflehog was removed as redundant; gitleaks catches what we need"* > *"Trufflehog removed: gitleaks provides sufficient coverage at lower cost."* So this is **not a coverage trade-off**. It is a straggler from before that decision — usually carrying `continue-on-error: true`, so it sits inside a check it cannot fail, duplicating a scanner that was deliberately dropped. ## Removing it loses nothing This repo keeps gitleaks-backed scanning, and the sweep **re-verified that from this checkout** before touching anything. Repos where trufflehog is the *only* leak scanner were deliberately excluded — **33 of them estate-wide** — because they need gitleaks **added**, which is a different change and must not be disguised as this one. Gitleaks is also the stronger scan here: it runs over the whole working tree with `--no-git` and exits non-zero on a finding, whereas this step scanned `base..head`. **A diff is narrower than the tree.** ## Estate coverage, measured Across 364 repositories with workflows (60 more have none at all): | | count | | |---|---:|---| | gitleaks only | 170 (47%) | correct | | trufflehog **and** gitleaks | 73 (20%) | this PR's category — straggler removal | | **trufflehog only** | **33 (9%)** | **must gain gitleaks first — excluded here** | | **neither** | **88 (24%)** | **no leak scanning at all** | ## A note on the lockfile edit The `actions.lock` entry is removed by **indentation-aware traversal**, not a line filter. A line filter deletes the dependency key but leaves its four indented children, which YAML then attaches to the **preceding** dependency. The file still parses as valid YAML — the only symptom is every lockfile-checked gate failing `startup_failure` with no explanation. That happened once already in this campaign, on three repos at once, and is why this sweep asserts every remaining dependency still carries its own `commit` field before committing. Found during the 2026-08-05 estate CI/CD census. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent 874140a commit 7d024c1

2 files changed

Lines changed: 0 additions & 14 deletions

File tree

.github/workflows/actions.lock

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ workflows:
4040
'.github/workflows/quality.yml':
4141
- 'actions/checkout@v6.0.1'
4242
- 'editorconfig-checker/action-editorconfig-checker@v2.1.0'
43-
- 'trufflesecurity/trufflehog@v3.92.5'
4443
'.github/workflows/rsr-antipattern.yml':
4544
- 'actions/checkout@v6.0.1'
4645
'.github/workflows/runtime-policy.yml':
@@ -138,8 +137,3 @@ dependencies:
138137
commit: 'sha1-708024e6c902387ab41de36e1669e43b5ee7085e'
139138
owner_id: 210414
140139
repo_id: 231208785
141-
'trufflesecurity/trufflehog@v3.92.5':
142-
ref: 'v3.92.5'
143-
commit: 'sha1-116e7171542d2f1dad8810f00dcfacbe0b809183'
144-
owner_id: 79229934
145-
repo_id: 77726177

.github/workflows/quality.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,6 @@ jobs:
2727
run: |
2828
find . -type f -perm /111 -name "*.sh" | head -10 || true
2929
30-
- name: Check for secrets
31-
uses: trufflesecurity/trufflehog@v3.92.5
32-
with:
33-
path: ./
34-
base: ${{ github.event.pull_request.base.sha || github.event.before }}
35-
head: ${{ github.sha }}
36-
continue-on-error: true
37-
3830
- name: Check TODO/FIXME
3931
run: |
4032
echo "=== TODOs ==="

0 commit comments

Comments
 (0)