Skip to content

feat: updated pypi workflow to use trusted publishing#1916

Merged
CarsonRoscoe merged 1 commit intox402-foundation:mainfrom
coinbase:feat/add-trusted-publishing-pypi
Apr 2, 2026
Merged

feat: updated pypi workflow to use trusted publishing#1916
CarsonRoscoe merged 1 commit intox402-foundation:mainfrom
coinbase:feat/add-trusted-publishing-pypi

Conversation

@CarsonRoscoe
Copy link
Copy Markdown
Contributor

@CarsonRoscoe CarsonRoscoe commented Apr 2, 2026

The x402 pypi package is moving towards using trusted publishing

Two changes made:

  1. Added id-token: write to permissions — required for the GitHub Actions OIDC token that PyPI trusted publishing uses.
  2. Removed the password: ${{ secrets.PYPI_X402_TOKEN }} line — when no password is provided, pypa/gh-action-pypi-publish automatically falls back to OIDC trusted publishing.

This assumes we've already configured the trusted publisher on PyPI for the x402 package to trust the x402-foundation/x402 repo, the publish_pypi_x402.yml workflow, and the pypi environment.

@github-actions github-actions bot added the ci label Apr 2, 2026
@CarsonRoscoe CarsonRoscoe merged commit 536b92e into x402-foundation:main Apr 2, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants