Skip to content

workflows: add a release workflow #627

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

Merged
merged 2 commits into from
Jun 11, 2024
Merged

workflows: add a release workflow #627

merged 2 commits into from
Jun 11, 2024

Conversation

woodruffw
Copy link
Member

@woodruffw woodruffw commented Jun 11, 2024

This moves ruby-macho from a "William pushes it from his desktop" release process to a CI-managed one, with Trusted Publishing as the authentication mechanism.

Anybody with the ability to create releases on this repo can now release from it. The workflow itself is currently tied to the rubygems.org deployment environment, to which we could add signoff restrictions as well.

NB: I've already configured the Trusted Publisher for ruby-macho on RubyGems:

Closes #273

@woodruffw woodruffw self-assigned this Jun 11, 2024
@woodruffw
Copy link
Member Author

(Tagged a couple of people for visibility, since this changes a release process.)

@woodruffw woodruffw added the github_actions Pull requests that update Github_actions code label Jun 11, 2024
@woodruffw woodruffw merged commit efd70e6 into master Jun 11, 2024
14 checks passed
@woodruffw woodruffw deleted the ww/trusted-publishing branch June 11, 2024 02:37
@MikeMcQuaid
Copy link
Member

Makes sense, thanks for this @woodruffw!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
github_actions Pull requests that update Github_actions code outdated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a RubyGems publishing workflow
4 participants