pypi-publish
Actively maintainedpypa/gh-action-pypi-publish · BSD-3-Clause
The blessed GitHub Action, for publishing your distribution files to PyPI, the tokenless way: https://github.com/marketplace/actions/pypi-publish
★ 1.2k starsLast commit 1 months agoLatest v1.14.2
C
68
/ 100
Security signals
OpenSSF Scorecard5.7 / 10
SECURITY.md presentNo
Immutable releasesEnabled
Known vulnerabilities1 advisory(ies)
- GHSA-vxmw-7h4f-hqxhlow
PyPI publish GitHub Action vulnerable to injectable expression expansions in action steps
Published Sep 4, 2025
How to use it safely
Recommended: pin to commit SHA
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2Mutable tags like v1.14.2 can be rewritten to point at malicious commits. Pinning to the full commit SHA is the only reference GitHub guarantees immutable.
Full workflow example
steps: - uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
Score breakdown
Security (35%)60
Popularity (20%)60
Maintenance (30%)81
Reliability (15%)70
Add this badge to your README
Markdown
[](https://actionrank.dev/actions/pypa-gh-action-pypi-publish)HTML version
HTML
<a href="https://actionrank.dev/actions/pypa-gh-action-pypi-publish"><img src="https://actionrank.dev/api/badge/pypa-gh-action-pypi-publish" alt="ActionRank score"></a>Free to use, no attribution required — the badge updates itself as the score changes. How badges work