Visitar URL original
馃懛 ci: correct a stale checkout pin comment by gaborbernat 路 Pull Request #3254 路 pypa/virtualenv 路 GitHub
Skip to content

馃懛 ci: correct a stale checkout pin comment - #3254

Merged
gaborbernat merged 1 commit into
pypa:mainfrom
gaborbernat:ci-fix-checkout-pin-comment
Sep 18, 2026
Merged

gaborbernat merged 1 commit into
pypa:mainfrom
gaborbernat:ci-fix-checkout-pin-comment

Conversation

@gaborbernat

Copy link
Copy Markdown
Contributor

The actions/checkout pin in pre-release.yaml carries the comment # v6, but the commit it names, 3d3c42e, holds the v7 and v7.0.1 tags. Every other workflow in the repo labels that same SHA v7.0.1.

Git resolves the SHA and ignores the comment, so no workflow ever ran the wrong version. 馃搶 The label exists so a reviewer can tell at a glance which release a pin corresponds to, and a wrong one defeats that. Spotted during the workflow audit behind #3253.

The pin on pre-release.yaml read v6, but the commit it names has carried the
v7 and v7.0.1 tags since the bump. Every other workflow labels that same SHA
v7.0.1.

Git fetches the SHA, not the comment, so nothing ran from the wrong version.
A wrong label still misleads anyone auditing the pins by eye, which is the
whole point of keeping the comment.
@gaborbernat
gaborbernat merged commit a435477 into pypa:main Sep 18, 2026
64 checks passed
gaborbernat added a commit to gaborbernat/virtualenv that referenced this pull request Sep 18, 2026
pypa#3254 changed a comment in a workflow, so its entry has nothing to say to a
user. It is also the one name in docs/changelog the new hook rejects.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant