Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ jobs:
needs: release-please
if: ${{ needs.release-please.outputs.release_created == 'true' || github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-latest
# Publishes through RubyGems trusted publishing: the job exchanges its
# OIDC token for a short-lived RubyGems credential, so no API key and no
# OTP are involved. The trusted publisher for this repository and workflow
# file is configured on the gem's page at rubygems.org.
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
Expand All @@ -34,6 +41,3 @@ jobs:
- uses: rubygems/release-gem@v1
with:
await-release: false
setup-trusted-publisher: false
env:
GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
Loading