Skip to content

ci: correct the stale version comment on the pypi-publish pin - #43

Merged
abrichr merged 1 commit into
mainfrom
ci/pin-pypi-publish-action
Aug 20, 2026
Merged

ci: correct the stale version comment on the pypi-publish pin#43
abrichr merged 1 commit into
mainfrom
ci/pin-pypi-publish-action

Conversation

@abrichr

@abrichr abrichr commented Aug 20, 2026

Copy link
Copy Markdown
Member

Problem

The pin is already correct — dc37677b2e1c63e2034f94d8a5b11f265b73ba33 is v1.14.2. But the trailing comment still read # release/v1, which is the floating tag the SHA replaced:

uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # release/v1

So the comment described the wrong thing. During an org-wide audit of this action, that mislabel made a correctly-pinned workflow read as unpinned, and it hides which version an incident review is actually looking at.

Fix

Correct the comment to # v1.14.2.

The SHA does not change. This is a comment-only edit and cannot alter release behaviour.

Verification

Tag resolved against upstream: v1.14.2dc37677b2e1c63e2034f94d8a5b11f265b73ba33, confirming the existing SHA and the new comment agree. The workflow still parses as valid YAML.

No release is cut

The title is ci:, and patch_tags is ["fix", "perf"] — so this merges without cutting a release.

🤖 Generated with Claude Code

The pinned SHA dc37677b2e1c63e2034f94d8a5b11f265b73ba33 is v1.14.2, but
the trailing comment still read `# release/v1`. That is the tag the pin
replaced, so the comment described the wrong thing and made the pin look
unpinned during an org-wide audit.

The SHA does not change. This corrects the comment only, so it cannot
alter release behaviour.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@abrichr
abrichr merged commit a179715 into main Aug 20, 2026
10 checks passed
@abrichr
abrichr deleted the ci/pin-pypi-publish-action branch August 20, 2026 11:10
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