Skip to content

Use PyPI Trusted Publishing for publishing releases#640

Open
limjoobin wants to merge 1 commit into
mainfrom
chore/pypi-trusted-publishing
Open

Use PyPI Trusted Publishing for publishing releases#640
limjoobin wants to merge 1 commit into
mainfrom
chore/pypi-trusted-publishing

Conversation

@limjoobin

@limjoobin limjoobin commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Switch PyPI publishing to Trusted Publishing via GitHub OIDC.

Note

Medium Risk
Changes how production packages are authenticated and published; misconfigured PyPI Trusted Publishing or job permissions would block releases until fixed.

Overview
Release publishing no longer uses a long-lived PYPI secret with uv publish. The build-and-publish job now grants id-token: write (and contents: read) and uploads wheels/sdists with pypa/gh-action-pypi-publish@release/v1, which authenticates to PyPI through GitHub OIDC Trusted Publishing.

uv build is unchanged; only the upload step and job permissions differ.

Reviewed by Cursor Bugbot for commit dc048fa. Bugbot is set up for automated code reviews on this repo. Configure here.

@limjoobin limjoobin requested a review from vishal-bala June 25, 2026 09:58
@jit-ci

jit-ci Bot commented Jun 25, 2026

Copy link
Copy Markdown

🛡️ Jit Security Scan Results

CRITICAL HIGH MEDIUM

✅ No security findings were detected in this PR


Security scan by Jit

@vishal-bala vishal-bala added the auto:ci Updates to CI/CD workflows and processes label Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto:ci Updates to CI/CD workflows and processes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants