Skip to content

ci: pin the PyPI publish action to its commit SHA - #419

Merged
eddiebergman-priorlabs merged 1 commit into
mainfrom
eddie/pin-actions-shas
Nov 17, 2026
Merged

eddiebergman-priorlabs merged 1 commit into
mainfrom
eddie/pin-actions-shas

Conversation

@eddiebergman-priorlabs

Copy link
Copy Markdown
Contributor

Generated by Claude Code

This PR pins the last tag ref, pypa/gh-action-pypi-publish@v1.14.3 (TestPyPI and PyPI steps), to its commit SHA. The old comment said a SHA pin fails with "manifest unknown", because the action pulls ghcr.io/pypa/gh-action-pypi-publish:<ref>. pypa now publishes an image for the release commit: ghcr.io/pypa/gh-action-pypi-publish:7245906fb61fa33a13554f9d5fb856fe61758086 exists, the same as :v1.14.3. The SHA is the commit v1.14.3 points at now, so the release workflow behaves the same.

The existing Dependabot github-actions entry keeps the pin current. When this merges, every action in the repo is SHA-pinned, and a repo admin can turn on Settings → Actions → General → "Require actions to be pinned to a full-length commit SHA".

🤖 Generated with Claude Code

The publish action pulls ghcr.io/pypa/gh-action-pypi-publish:<ref>, and
pypa publishes an image for each release commit SHA, so the SHA pin works.
It is the commit v1.14.3 points at now, so the workflow behaves the same.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@eddiebergman-priorlabs
eddiebergman-priorlabs marked this pull request as ready for review November 17, 2026 14:57
@eddiebergman-priorlabs eddiebergman-priorlabs added the no changelog needed PR has no user-facing impact; skip the changelog gate label Nov 17, 2026
@eddiebergman-priorlabs
eddiebergman-priorlabs merged commit 3651843 into main Nov 17, 2026
18 of 20 checks passed
@eddiebergman-priorlabs
eddiebergman-priorlabs deleted the eddie/pin-actions-shas branch November 17, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog needed PR has no user-facing impact; skip the changelog gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants