What to check first
Check the gem's owners and publishing credential scope, and rehearse the release on a disposable target.
KeySigner setups
- Test a RubyGems sign-in code →KeySigner on iPhone or Mac with Sign-in codes
What it covers
Protecting a maintainer account does not restrict a separate publishing identity.
Troubleshooting
Does trusted publishing succeed for one gem but fail for another?
Compare the trusted publisher registered for each gem with the repository and workflow identity of the failed run.
Check RubyGems status for reports on the RubyGems.org package registry.
Documentation and support
RubyGems documentation
Set up trusted publishing for a gem
Register an authenticator on RubyGems.org