-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use PyPI trusted publisher authentication (#33)
Updates the GitHub Actions publish workflow to use PyPI's Trusted Publisher authentication instead of token-based authentication. This change improves security by: - Removing the need to store PyPI tokens in GitHub secrets - Using OpenID Connect (OIDC) for secure authentication - Leveraging PyPI's recommended authentication method for GitHub Actions ## Changes - Removed token-based authentication (TWINE_USERNAME and TWINE_PASSWORD) - Added required `id-token: write` permission for OIDC - Switched from manual twine upload to `pypa/gh-action-pypi-publish` action
- Loading branch information
Showing
2 changed files
with
12 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters