Skip to content

Version the dependency audit action with release tags - #48

Merged
0thernet merged 1 commit into
mainfrom
devin/dependency-audit-versions-20261004
Oct 4, 2026
Merged

0thernet merged 1 commit into
mainfrom
devin/dependency-audit-versions-20261004

Conversation

@0thernet

@0thernet 0thernet commented Oct 4, 2026

Copy link
Copy Markdown
Member

Summary

  • The template pins hraness/.github/actions/dependency-audit@<commit> # vX.Y.Z. sync-dependency-audit.py resolves the newest vX.Y.Z tag of this repository, or --action-version. The previous # main comment broke the hraness-ci rule that every pin carries a version comment, and failed Sponge's supply-chain test. With tags, each repository's weekly Dependabot update for GitHub Actions moves the pin to a new release.
  • --apply keeps a repository's own actions/checkout pin, taken from its existing audit workflow or its other workflows, so repositories that review one checkout commit (Sponge) do not get a second one. --check already treats any version-commented checkout pin as current.
  • README: install, update, and release steps.

After merge, v1.0.0 is tagged on main. The five pilot rollout pull requests and xcb's merged copy are then re-rendered against it.

Test plan

  • python3 -m unittest discover -s tests with PyYAML (109 pass), including version comments on every pin and checkout-pin preservation
  • Required CI

Generated with Devin

The org CI rule asks every pin to carry a version comment, and Sponge's
action supply-chain test rejects the "# main" comment the first rollout
used. Repositories now pin the commit of hraness/.github's newest vX.Y.Z
tag with that version as the comment, so Dependabot's weekly GitHub
Actions update can move every repository to a new release.

The sync script also keeps a repository's own actions/checkout pin,
taken from its existing audit workflow or its other workflows. A
repository that reviews one checkout commit, as Sponge does, gets the
same commit instead of a second one.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@0thernet
0thernet enabled auto-merge (squash) October 4, 2026 21:09
@0thernet
0thernet merged commit 021adfa into main Oct 4, 2026
7 checks passed
@0thernet
0thernet deleted the devin/dependency-audit-versions-20261004 branch October 4, 2026 21:09
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.

1 participant