ActionRank

pypi-publish

Actively maintained

pypa/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 7 days agoLatest v1.14.3
C
66
/ 100
Security 46Maintenance 92Popularity 60Reliability 70

Security signals

OpenSSF Scorecard6.0 / 10
SECURITY.md presentNo
Immutable releasesEnabled
Known vulnerabilities2 advisory(ies)
  • GHSA-5xjx-3w67-w9x9critical

    pypi-publish action revocation of CA in the chain that Sigstore uses in Trusted Publishing and Digital Attestations for PyPI

    Published Oct 30, 2026
  • 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@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3

Mutable tags like v1.14.3 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@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3

Score breakdown

Security (35%)46
Popularity (20%)60
Maintenance (30%)92
Reliability (15%)70

Add this badge to your README

ActionRank grade badge for pypi-publish
Markdown
[![ActionRank](https://actionrank.dev/api/badge/pypa-gh-action-pypi-publish)](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

Get alerts for pypi-publish

We'll email you only if pypi-publish becomes abandoned or a new advisory is published. Unsubscribe any time. How we handle your address