Skip to content

chore(github-actions): pin reqstool/.github references to 1.0.0 - #189

Merged
jimisola merged 1 commit into
mainfrom
fix/pin-github-to-1.0.0
Aug 23, 2026
Merged

chore(github-actions): pin reqstool/.github references to 1.0.0#189
jimisola merged 1 commit into
mainfrom
fix/pin-github-to-1.0.0

Conversation

@jimisola

Copy link
Copy Markdown
Member

Description

Implements reqstool/.github#25 for this repo.

Every reqstool/.github reference here now points at a commit SHA carrying a # 1.0.0
comment, replacing the mix of @main and @<sha> # main <date> that had accumulated.

reqstool/.github was tagged 1.0.0
— its first ever tag — at the state verified end to end by this week's releases across all
nine publishing repos.

Why this shape, per the discussion on #25:

  • @main is mutable, so CodeQL's actions/unpinned-tag flags it, and a change to
    reqstool/.github reaches this repo instantly with no review. We hit exactly that twice
    this week while fixing the PyPI publish path.
  • @1.0.0 alone would still be a mutable tag, so it would keep tripping the same rule.
  • @<sha> # 1.0.0 satisfies the pinning audits, and Renovate tracks the digest and rewrites
    the version comment alongside it — so the pin does not silently rot. That is the same
    treatment third-party actions already get in this org.

A companion PR narrows the !/^reqstool\// exclusion in renovate.json5, which is what
lets Renovate maintain these going forward. That one merges after this, so Renovate does
not try to pin @main refs mid-sweep.

Checklist

  • I have reviewed and followed the contributing guidelines.
  • I have run a local build and made sure all tests pass.
  • I have signed off the DCO (git commit -s).
  • I have read the Code of Conduct and agree to abide by it.

Test plan

Mechanical, generated by script and YAML-validated across every touched file. The refs all
resolve to the same tree they did before — 1.0.0 points at ef815ea, which is what @main
already resolved to when this was written, so no behaviour changes. CI on this PR exercises
the pinned refs directly.

Replaces a mix of @main and @<sha> # main <date> with a single shape:
@<sha> # 1.0.0, against reqstool/.github's first tag.

@main is mutable, so CodeQL's actions/unpinned-tag flags it and any
change to the shared workflows reaches this repo with no review -- which
bit twice this week while the PyPI publish path was being fixed. A bare
tag would still be mutable; the sha-with-version-comment form satisfies
the pinning audits while letting Renovate track the digest and rewrite
the comment, so the pin does not rot.

Implements reqstool/.github#25.

Signed-off-by: Jimisola Laursen <jimisola@jimisola.com>
@jimisola
jimisola merged commit 824d787 into main Aug 23, 2026
11 checks passed
@jimisola
jimisola deleted the fix/pin-github-to-1.0.0 branch August 23, 2026 23:31
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