Skip to content

Commit 0f4c5ea

Browse files
hyperpolymathclaudecoderabbitai[bot]
authored
fix(ci): pin standards reusables to default-branch HEAD (#51)
Re-points this repo's `hyperpolymath/standards` reusable-workflow pins at the standards default-branch HEAD, `8f2ee50841e216cd8c192eeb68953118190f105c`. **This PR makes two changes, not one.** It also widens the top-level `permissions:` block of 1 workflow file(s). A caller that grants a reusable **less** than the reusable's own `permissions:` request is rejected at workflow **startup** — the exact failure this PR exists to cure — so bumping the pin without this would move the repo from one silent disappearance to another. The scopes added are not hardcoded: each reusable's request is read from `8f2ee508` **at sweep time** and only the genuinely missing scopes are added, at the indent the file already uses. Only `read`-level scopes are added this way; anything needing `write` is held for review instead. **Why this is not a routine version bump.** `uses: org/repo/.github/workflows/x.yml@<ref>` is resolved at workflow **startup**, so a bad ref is not a failing job — it is *no job at all*. This campaign repairs three kinds of drift and does not assume which one this repo had: - an **unreachable** sha kills the run before any job is created, so GitHub reports **no check at all** rather than a failing one: the gate does not go red, it *disappears*, and `gh pr checks` simply lists fewer rows. A repo in this state looks greener than one with working gates; - a **floating** ref such as `@main` runs, but unpinned — the supply-chain property the estate pins for is absent; - a **stale but reachable** sha runs the reusable as it was, silently reintroducing every bug fixed since it. The refs this repo was actually pinned to, before this PR: `092dedada188f56c5915f74a5fd40aac093742c3`. **Expect this PR to surface failures that main does not show.** Those failures are *revealed, not introduced* — they are the gates resuming work after being silently absent. The honest comparison is the set of check **names** emitted here versus on `main`, not pass/fail counts. On the canary (`hyperpolymath/empty-linter#79`) the governance suite was absent on main and emitted 25 checks once repaired. The target is default-branch HEAD resolved at sweep time, never a sha copied from a plan: a reachable but non-HEAD sha silently reintroduces every bug fixed since it. Engine: `.git-private-farm/scripts/smtp-notify-sweep.sh --campaign campaigns/pin-repair.sh`. Verification for this repo: `files=4 pins=4 perms=1 permlines=1 from=092dedada188f56c5915f74a5fd40aac093742c3 target=8f2ee508 sig=G 8f37719 canon=a7325fbdc356 base=main` 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_0178nN4Nm3neFRy5K9StZKnB --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 9913f48 commit 0f4c5ea

6 files changed

Lines changed: 5 additions & 10 deletions

File tree

‎.github/workflows/governance.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ permissions:
1414

1515
jobs:
1616
governance:
17-
uses: hyperpolymath/standards/.github/workflows/governance-reusable.yml@092dedada188f56c5915f74a5fd40aac093742c3
17+
uses: hyperpolymath/standards/.github/workflows/governance-reusable.yml@8f2ee50841e216cd8c192eeb68953118190f105c

‎.github/workflows/hypatia-scan.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ on:
1111
workflow_dispatch:
1212

1313
permissions:
14+
actions: read
1415
contents: read
1516
security-events: write
1617

1718
jobs:
1819
scan:
19-
uses: hyperpolymath/standards/.github/workflows/hypatia-scan-reusable.yml@092dedada188f56c5915f74a5fd40aac093742c3
20+
uses: hyperpolymath/standards/.github/workflows/hypatia-scan-reusable.yml@8f2ee50841e216cd8c192eeb68953118190f105c

‎.github/workflows/scorecard.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313

1414
jobs:
1515
scorecard:
16-
uses: hyperpolymath/standards/.github/workflows/scorecard-reusable.yml@092dedada188f56c5915f74a5fd40aac093742c3
16+
uses: hyperpolymath/standards/.github/workflows/scorecard-reusable.yml@8f2ee50841e216cd8c192eeb68953118190f105c
1717
permissions:
1818
contents: read
1919
security-events: write

‎.github/workflows/secret-scanner.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ permissions:
1818
contents: read
1919
jobs:
2020
scan:
21-
uses: hyperpolymath/standards/.github/workflows/secret-scanner-reusable.yml@092dedada188f56c5915f74a5fd40aac093742c3
21+
uses: hyperpolymath/standards/.github/workflows/secret-scanner-reusable.yml@8f2ee50841e216cd8c192eeb68953118190f105c
2222
secrets: inherit

‎CONTRIBUTING.adoc‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,3 @@ If you have questions about contributing, please:
380380
Thank you for contributing to aggregate-library! 🎉
381381

382382
---
383-
384-
Last updated: 2025-11-22 +
385-
Version: 1.0.0

‎REVERSIBILITY.adoc‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,3 @@ For questions about reversibility:
298298

299299
*Remember*: _If it can’t be undone easily, reconsider if it should be
300300
done at all._
301-
302-
*Version*: 1.0.0 *Last Updated*: 2025-11-22 *Next Review*: 2026-02-22 (3
303-
months)

0 commit comments

Comments
 (0)