Repository navigation
chore(deps): drop Dependabot github-actions; standards applier is the single pin writer - #716
Conversation
… single pin writer Owner ruling 'single pin writer' (relayed by the hub, 2026-11-26). Third-party action pins and actions.lock are written together by the standards Action pins applier (standards #1688). The cargo entry is unchanged; the codeql-action hold is carried in standards config/settings/actions-bump-holds.txt.
|
Review these changes at https://app.gitnotebooks.com/hyperpolymath/gitbot-fleet/pull/716 |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 21 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
The one red check, "GSBot build, tests and dependency security", is not caused by this PR. It fails the cargo-deny advisory step on a Generated by Claude Code |
|
The second red check, "Pinned source closure", is also not caused by this PR: it reports SOURCE-ACTIVE-MISSING because main's manifest still binds the Hypatia reusable to Generated by Claude Code |
|
The third red check, "build · test · clippy (robot-repo-automaton)", is also main's: a clippy Generated by Claude Code |
|
This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
…(part B) (#717) ## Summary Part B of the owner's "Repo hook in applier" ruling: the repo's half of the post-pin-bump hook contract. **Takes effect only once part A merges (the standards PR that makes the Action pins applier call this hook). Merge order: A, then B.** Until A merges this script is inert; nothing calls it. ## Why The Action pins applier is the single writer of pins (#716 removed Dependabot's github-actions ecosystem). It writes only `.github/workflows` and `.github/actions`, and skips first-party owners, so when a pinned reusable-workflow commit moves, `scripts/lib/pinned-reusable-sources.json` and `scripts/lib/lock-closure-receipts.tsv` still describe the old commit and main goes red (this happened with #699). ## What - `scripts/post-pin-bump.sh`: finds which active sources' callers now point at a new commit, and re-points the manifest and receipts **only for the pin-only case**: same repository, same path, same blob, same `content_sha256`, same direct edges. The new source is fetched as data by the existing audit and never executed. It refuses (exit 1, nothing written) on anything else: a different blob or edges, another repository or path, a commit shared with a source that did not move, dependency records naming the old commit, unreadable input, or a path outside the allow-list. It self-audits and restores the files if that fails. Changed paths are printed NUL-separated. - `.github/post-pin-bump.paths`: the allow-list, exactly the two paths above (lines starting `#` are comments). - `scripts/audit-pinned-reusable-sources.sh --roots-only`: prints the live roots from the audit's own parser and stops, so the hook reuses that reader. - `scripts/tests/post-pin-bump-test.sh` (wired into `e2e.yml`): offline fixtures for no-op, pin-only, idempotence, changed blob, changed edges, changed repository, unavailable source, shared commit, allow-list, and a mutant showing the audits are what refuse. Not in this PR: the applier side (no App token for the hook, minimal network, staging only the allow-listed paths) is part A. ## Checks - `post-pin-bump-test.sh`: 10 passed. `pinned-reusable-sources-test.sh`: 55 passed. - Run against main's current state (the #699 pin bump), the hook re-attests exactly the two files and nothing else. --- _Generated by [Claude Code](https://claude.ai/code)_ <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit - **Chores** - Improved maintenance of pinned reusable-workflow sources, with checks that help prevent inconsistent or incomplete updates. - Added a roots-only audit option to list discovered reusable-workflow sources without fetching them. - Documented the path-list format used to identify files affected by pin updates. - **Tests** - Added automated coverage for pin-update validation, refusal conditions, audit behavior, and recovery when an update cannot be completed. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude <noreply@anthropic.com>



Why
Owner ruling "single pin writer" (relayed by the hub, 26 Nov): Dependabot's
github-actionsecosystem is retired in favour of the standards Action pins applier (metadatastician/standards.github/workflows/action-pins-applier.yml, #1688), which writes third-partyuses:pins andactions.locktogether, one PR per repo. Dependabot bumps bypass this repo's pinned-reusable-sources ledger (#699 turned main red until #707).What
package-ecosystem: "github-actions"entry from.github/dependabot.yml; add a comment pointing to the applier. Thecargoentry is unchanged.github/codeql-actionhold that sat in that entry'signorelist is already carried in standardsconfig/settings/actions-bump-holds.txt(verified), so it is not lost.actions.lock, SPDX or closure-file change. Independent of fix(ci): turn main green: hypatia pin closure + clippy needless_bool + url 2.5.9 (carries #705 and #706 fixes) #707, fix(skeleton): emit PLAYBOOK.deed, never .a2ml #704, fix(gsbot): patch url (RUSTSEC-2026-0592); record chrono and derivative departures #706.Closure gap: does the applier keep
Pinned source closuregreen? The gap remains.Read-only check of standards
main(action-pins-applier.yml,scripts/bump-action-pins.sh,scripts/regen-dependabot-locks.sh,scripts/apply-workflow-pins-remote.sh):scripts/lib/pinned-reusable-sources.jsonorscripts/lib/lock-closure-receipts.tsv..github/workflowsand.github/actions(bump-unexpected-path), so the applier cannot update this repo's closure files even if it tried.bump-action-pins.shskips first-party owners (hyperpolymath, metadatastician, catachresis-colloquium). The hypatiacredential-read-check.ymlpin that broke chore(deps): bump hyperpolymath/hypatia/.github/workflows/credential-read-check.yml from 29a9e4a881b6a3cc4cd27fcbc0886ffbadcbc5fe to f2c0604880f615bec5edda7aaefc8feac3d04cc5 in the actions group #699 is first-party, so the bump will not move it; standards reusable pins move throughapply-workflow-pinsinstead.apply-workflow-pinsre-points a pin that the manifest binds (a standards reusable-workflow caller), the manifest/receipts keep the old commit andaudit-pinned-reusable-sources.shfails withSOURCE-ACTIVE-MISSING, exactly as in chore(deps): bump hyperpolymath/hypatia/.github/workflows/credential-read-check.yml from 29a9e4a881b6a3cc4cd27fcbc0886ffbadcbc5fe to f2c0604880f615bec5edda7aaefc8feac3d04cc5 in the actions group #699. A third-party-only bump should not change the manifest's roots, but I did not simulate one.Applier App installed on gitbot-fleet?
Yes, per the hub's evidence (not independently verified by me). Applier run 45810700214 (26 Nov, 11:27Z) minted installation tokens for hyperpolymath, metadatastician and catachresis-colloquium ("for all repositories owned by ..."), named no owner it did not examine, and swept #708. My own lookup (
GET .../installation) returned 401 because it needs an App JWT.Departures row
The "Dependabot bypasses the ledger" bypass is closed by this PR, but the closure-file gap above remains, so the row should be reworded to that gap (text sent to the hub).
.machine_readable/departures.jsonlis not on main (#706 unmerged), so no row is added here.Generated by Claude Code