-
Notifications
You must be signed in to change notification settings - Fork 191
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
Trusted publishing GitHub Action docs should specify environment
if there is one
#355
Comments
For context: the equivalent docs on the PyPI side: https://docs.pypi.org/trusted-publishers/using-a-publisher/ Specifically, this is the example we use on PyPI:
This can be closely adapted to RubyGems, so I'll file a PR later today. |
It's probably also worth mentioning that the
All in all, it'd be nice if EDIT: some additional context: rubygems/release-gem#3. |
Just flagging: I'll send a PR for the environment docs part later today, time permitting. |
"Later today" really meant a week, but I've opened #356 for this! |
Hi all 👋
I've been working through the new trusted publishing, and everything seems to be working pretty well. I did notice one thing missing from the docs: the GitHub Actions don't mention including the
environment
if there is one. In other words, if you specify an environment when creating a trusted publisher you must also specify it in the GitHub Action workflow.The text was updated successfully, but these errors were encountered: