Restore environment: pypi on the publish job - #12
Merged
Merged
Conversation
v0.1.0 published successfully in March from BlockScience/knowledgecomplex with environment: pypi. The May rebrand changed the repository claim GitHub sends, while PyPI's trusted publisher still named the old owner, so publishing began failing with invalid-publisher. #11 read that as an environment problem and removed the environment. That changed which claim was sent but not the one that was wrong, so the next attempt failed identically, now reporting environment: MISSING. The PyPI publisher is being repointed at DynamicalSystemsGroup/knowledgecomplex with environment pypi — the configuration that worked before the rebrand, since the owner was the only thing that ever changed. The pypi environment already exists in this repository's settings, and keeping it keeps the gate: publishing can be restricted to people who should release rather than being available to anyone who can push a tag.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Restore environment: pypi on the publish job
v0.1.0 published successfully in March from BlockScience/knowledgecomplex with
environment: pypi. The May rebrand changed the repository claim GitHub sends,
while PyPI's trusted publisher still named the old owner, so publishing began
failing with invalid-publisher.
#11 read that as an environment problem and removed the environment. That
changed which claim was sent but not the one that was wrong, so the next attempt
failed identically, now reporting environment: MISSING.
The PyPI publisher is being repointed at DynamicalSystemsGroup/knowledgecomplex
with environment pypi — the configuration that worked before the rebrand, since
the owner was the only thing that ever changed. The pypi environment already
exists in this repository's settings, and keeping it keeps the gate: publishing
can be restricted to people who should release rather than being available to
anyone who can push a tag.