-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand OIDC email template's publisher specifiers #13667
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
Conversation
This adds details about which repository is trusted and the environment name to "trusted publisher added/removed" emails. Resolves pypi#13577
Thanks @Martolivna! One small nitpick about how we'll end up rendering environments, but looks good overall! |
This change prevents the optional 'environment' specifier from being rendered when it is empty. Resolves pypi#13577
Thank you, @woodruffw! I've made some updates for conditionally rendering. |
Resolves pypi#13577
Resolves pypi#13577
@woodruffw, I've made some updates. Your correction is really nice! Is there anything else I can do to improve it? |
Nope, looks great to me! I've approved but I don't have the commit bit, so one of the maintainers will need to do the merge 🙂. But great work! |
That's wonderful! It was a pleasure working with you. Thank you for your assistance! |
You as well! Thanks for tackling that issue 🙂 |
Just needs the result of |
@woodruffw do we expect other (future) publishers to have all the same fields? Any idea what that'd look like? Will that need rethinking how this information is rendered? |
This adds new lines of updated templates to the locale file. Resolves pypi#13577
@ewdurbin could you smash that “Run CI” button, please? |
Nope, they'll all be slightly different, unfortunately. I think it's okay to hard-code this for now, since we have other in-flight work (e.g. #13569) that'll need to update these emails to make them generic over different providers. (Eventually, the rendering will probably need to become fully independent of each provider type -- I need to give some more thought to how that should look.) |
Yeah, makes sense. I've been talking to Marta privately, throwing some ideas around, and thought that there could be a |
Yeah, this is close to what I've been thinking too -- we could probably do this generically by inspecting |
This adds details about which repository is trusted and the environment name to "trusted publisher added/removed" emails.
Resolves #13577