Skip to content

Switch to trusted publishing workflow and run it on version.rb changes #586

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 1 commit into from
May 23, 2025

Conversation

zendesk-ops-ci
Copy link

@zendesk-ops-ci zendesk-ops-ci commented Apr 16, 2025

Switches to a Trusted Publishing workflow.
This workflow will run whenever version.rb is changed in the main branch.
Setting ENV["gem_push"] is also not necessary anymore.
This workflow relies on the main branch being named main. Please rename it (main is the standard name across Zendesk).
bundler-cache for setup-ruby is set to false to prevent cache poisoning attacks.
Finally, we add a description of the new release process. Our README and CONTRIBUTING files don’t have a standard structure, so please check that we have updated a correct file and that the new section makes sense for this gem.

  • Release description has been updated correctly.
  • The main branch is renamed from master to main.

@razumau razumau force-pushed the trusted_publishing branch 2 times, most recently from 3930a7b to 741b327 Compare April 18, 2025 15:08
@razumau razumau force-pushed the trusted_publishing branch from 741b327 to 02f20df Compare May 20, 2025 17:45
@razumau razumau force-pushed the trusted_publishing branch from 02f20df to fed997c Compare May 20, 2025 17:46
@razumau razumau marked this pull request as ready for review May 20, 2025 17:48
@razumau razumau requested a review from a team as a code owner May 20, 2025 17:48
Copy link
Contributor

@cryptomail cryptomail left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VERY nice

@razumau razumau merged commit 0693480 into main May 23, 2025
21 of 24 checks passed
@razumau razumau deleted the trusted_publishing branch May 23, 2025 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants