Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ci: use PYPI_TOKEN for publishing and fix infinite generate loop #160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: use PYPI_TOKEN for publishing and fix infinite generate loop #160
Changes from all commits
5822e5efd1543f6f0ee092424c27File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚩 Removal of GitHub environment protection for PyPI publishing
Both
publish.ymlandpre-release-command.ymlpreviously declaredenvironment: name: pypiwhich may have had GitHub environment protection rules (e.g., required reviewers, deployment branch restrictions). The PR removes theseenvironmentblocks entirely as part of the OIDC→token migration. If thepypienvironment had protection rules configured in the repository settings, those guardrails are now bypassed. This is likely intentional since token-based auth doesn't require environment-scoped OIDC, but worth confirming that no protection rules are being lost.Was this helpful? React with 👍 or 👎 to provide feedback.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 CONTRIBUTING.md still references OIDC publishing after switch to PYPI_TOKEN
The PR changes both
publish.ymlandpre-release-command.ymlfrom OIDC trusted publishing (pypa/gh-action-pypi-publish) to token-based publishing (uv publishwithUV_PUBLISH_TOKEN), butCONTRIBUTING.md— a mandatory documentation file perAGENTS.md:25— was not updated. It still says "published to PyPI via OIDC trusted publishing" atCONTRIBUTING.md:55and "this triggers PyPI publication via OIDC" atCONTRIBUTING.md:78. Contributors and agents following this documentation will have an incorrect understanding of the publishing mechanism.Prompt for agents
Was this helpful? React with 👍 or 👎 to provide feedback.
Uh oh!
There was an error while loading. Please reload this page.