ci: pin mutable action tags in the workflows this fork actually runs#16
Merged
Conversation
Eight uses: references in the three workflows that genuinely run here pointed at mutable tags, which CodeQL reports as actions/unpinned-tag. A tag can be moved to a different commit by its owner at any time, so a tag pin is not a pin. That risk is not hypothetical here: actions/checkout@v7 currently resolves to 3d3c42e5, while the rest of the estate pins 9c091bb (v7.0.0). The tag moved. These now pin the same commit the estate already vetted rather than whatever v7 points at today. Scope is deliberately limited to branch-cleaner, code-quality and pr-title — the three files verified to run in this fork. The inherited release and nightly workflows are left alone: they require secrets this repository does not have (gh secret list returns zero), so pinning them would be churn on code that cannot execute. They need a quarantine decision, not a pin.
rldyourmnd
force-pushed
the
ci/pin-mutable-action-tags
branch
from
July 24, 2026 20:25
10a5544 to
528928a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Eight
uses:references pointed at mutable tags — CodeQL'sactions/unpinned-tag. A tag can be repointed by its owner at any time, so a tag is not a pin.The risk is concrete here.
actions/checkout@v7resolves today to3d3c42e5, while the rest of the estate pins9c091bb(v7.0.0). The tag already moved.branch-cleaner.ymlcode-quality.ymlpr-title.ymlNo mutable
uses:remains in those three files.actionlintclean.Scope is deliberately narrow: these are the workflows verified to actually run in this fork. The inherited upstream release and nightly workflows are untouched —
gh secret listreturns zero secrets here and eleven of them require credentials that cannot exist, so pinning code that cannot execute would be churn. Upstream owns that surface.