Skip to content

🔒 Configure Trusted Publisher#269

Merged
nevans merged 1 commit intomainfrom
configure-trusted-publisher
Feb 9, 2026
Merged

🔒 Configure Trusted Publisher#269
nevans merged 1 commit intomainfrom
configure-trusted-publisher

Conversation

@nevans
Copy link
Collaborator

@nevans nevans commented Feb 7, 2026

This was copied from what I've been using with net-imap.

The action will automatically trigger when v* tags are pushed. And I've configured the rubygems.org environment to require a reviewer to confirm, before actually executing the action (self-review is allowed). It attempts to creates a draft release after the deploy completes.

GitHub wouldn't let me add the resque "Core" team as reviewers... but I've also configured the environment so that organization admins can bypass the protection rules, so I suppose that doesn't really matter!

This way, in the extremely unlikely event that an emergency release is required and I can't be contacted (or I've moved on, without a proper handoff), any resque organization admin can make a new release by simply bumping the VERSION contant, pushing the tag, and reviewing the action.

@nevans
Copy link
Collaborator Author

nevans commented Feb 7, 2026

n.b: I first did this many months ago... maybe it should be re-run again to get the latest recommended version of things.

@nevans nevans added workflows github_actions Pull requests that update GitHub Actions code labels Feb 7, 2026
@nevans nevans force-pushed the configure-trusted-publisher branch from 9082a45 to cbe3044 Compare February 7, 2026 00:29
This was copied from what I've been using with `net-imap`.

The action will automatically trigger when `v*` tags are pushed.  And
I've configured the `rubygems.org` environment to require a reviewer to
confirm, before actually executing the action (self-review _is_
allowed).  It attempts to creates a draft release after the deploy
completes.

GitHub wouldn't let me add the `resque` "Core" team as reviewers... but
I've also configured the environment so that organization admins can
bypass the protection rules, so I suppose that doesn't really matter!

This way, in the extremely unlikely event that an emergency release is
required and I can't be contacted (or I've moved on, without a proper
handoff), any `resque` organization admin can make a new release by
simply bumping the `VERSION` contant, pushing the tag, and reviewing
the action.
@nevans nevans force-pushed the configure-trusted-publisher branch from cbe3044 to cba979c Compare February 9, 2026 16:04
@nevans
Copy link
Collaborator Author

nevans commented Feb 9, 2026

n.b: I first did this many months ago... maybe it should be re-run again to get the latest recommended version of things.

Updated to be almost identical to how I've configured net-imap.

@nevans nevans merged commit 71185bd into main Feb 9, 2026
44 checks passed
@nevans nevans deleted the configure-trusted-publisher branch February 9, 2026 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant