Skip to content

chore(deps): drop Dependabot github-actions; standards applier is the single pin writer - #716

Merged
hyperpolymath merged 3 commits into
mainfrom
fix/dependabot-single-pin-writer
Nov 26, 2026
Merged

hyperpolymath merged 3 commits into
mainfrom
fix/dependabot-single-pin-writer

Conversation

@hyperpolymath

@hyperpolymath hyperpolymath commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

Why

Owner ruling "single pin writer" (relayed by the hub, 26 Nov): Dependabot's github-actions ecosystem is retired in favour of the standards Action pins applier (metadatastician/standards .github/workflows/action-pins-applier.yml, #1688), which writes third-party uses: pins and actions.lock together, one PR per repo. Dependabot bumps bypass this repo's pinned-reusable-sources ledger (#699 turned main red until #707).

What

Closure gap: does the applier keep Pinned source closure green? 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):

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.jsonl is not on main (#706 unmerged), so no row is added here.


Generated by Claude Code

… 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.
@gitnotebooks

gitnotebooks Bot commented Nov 26, 2026

Copy link
Copy Markdown

@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 1540f94 and 7264a38.

Files selected for processing: 1

  • .github/dependabot.yml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

Copy link
Copy Markdown
Owner Author

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 Url::origin() stack-overflow advisory in bots/gsbot/Cargo.lock, a file this PR does not touch. The same lockfile fix is already in #707 (cherry-picked from #705), so this check clears once #707 merges and this branch takes main. Nothing to push here.


Generated by Claude Code

Copy link
Copy Markdown
Owner Author

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 29a9e4a, while the caller was bumped to f2c0604 by #699. It is red on main. #707 carries the pin-only re-attestation (6e64d5a), so it clears once #707 merges and this branch takes main. Nothing to push here.


Generated by Claude Code

Copy link
Copy Markdown
Owner Author

The third red check, "build · test · clippy (robot-repo-automaton)", is also main's: a clippy needless_bool error at robot-repo-automaton/src/confidence.rs:352, a file this PR does not touch. #707 carries the fix (cherry-picked from #705), so it clears once #707 merges and this branch takes main. Nothing to push here.


Generated by Claude Code

@hyperpolymath
hyperpolymath marked this pull request as ready for review November 26, 2026 13:59
@chatgpt-codex-connector

Copy link
Copy Markdown

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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-26T14:10:05.058764Z 7264a38 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath merged commit 21b7289 into main Nov 26, 2026
68 checks passed
@hyperpolymath
hyperpolymath deleted the fix/dependabot-single-pin-writer branch November 26, 2026 14:03
hyperpolymath added a commit that referenced this pull request Nov 27, 2026
…(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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants