Skip to content

Commit 46b6ff6

Browse files
Mlaz-codeclaude
andcommitted
ci: SHA-pin 3rd-party actions
GitHub Actions pinned by tag can be silently replaced if the tag is moved or the repo is compromised — a tag pin is effectively mutable auth to our runners. Pin each 3rd-party action to a full commit SHA with a human-readable tag comment, so tag moves don't propagate automatically. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 841d47e commit 46b6ff6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ jobs:
6666
# Only publish on an actual release event. workflow_dispatch
6767
# runs through test+build as a dry run but must not upload.
6868
if: github.event_name == 'release'
69-
uses: pypa/gh-action-pypi-publish@release/v1
69+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1

0 commit comments

Comments
 (0)