-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Use separate GitHub environment for deploy workflows #10871
Comments
Absolutely |
Definitely, thanks @bluetech! |
I created the "deploy" environment with the following protection rules:
Unfortunately I forgot that in order to add a new environment secret I need to be able to generate a new PyPI API token, for which I don't have access. If one of the maintainers with PyPI access can add a |
@bluetech @nicoddemus i think its going to be practical to solve #10870 at the same time by configuring a publisher for the environment instead of creating a token - if everyone agrees i'll add the config to pytest |
👍 |
@bluetech the publisher is created, as far as i understand, the next steps involve configuring the environment of the deploy workflow as well as adding the correct id permissions for openid-connect |
…1162) Closes #10871 Closes #10870 Co-authored-by: Ronny Pfannschmidt <[email protected]>
Reading this page https://docs.pypi.org/trusted-publishers/security-model/#considerations they mention:
Seems like a good idea to segregate the deployment secrets to their own environment and add required reviewers (probably pytest core?) to better protect our releases.
I can try to set it up before the next release (#10869) if we agree.
The text was updated successfully, but these errors were encountered: