Skip to content

Commit 0c9b6fe

Browse files
petercorkeclaude
andcommitted
ci: pin the PyPI publish action to a commit
A third-party action with the right to publish should be an immutable reference. dependabot (github-actions, monthly) keeps it current. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
1 parent 471fcb3 commit 0c9b6fe

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎.github/workflows/publish.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ jobs:
109109
name: dist
110110
path: dist
111111

112-
- uses: pypa/gh-action-pypi-publish@release/v1
112+
# pinned to a commit, as this action can publish to PyPI; dependabot updates it
113+
- uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
113114
with:
114115
skip_existing: true

0 commit comments

Comments
 (0)