Skip to content

Commit faf1707

Browse files
committed
Use trusted publishers to release the gem
1 parent b87715d commit faf1707

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/release_gem.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,12 @@ on: # yamllint disable-line rule:truthy
1010
jobs:
1111
release:
1212
name: Release gem
13-
uses: theforeman/actions/.github/workflows/release-gem.yml@v0
14-
with:
15-
allowed_owner: theforeman
16-
secrets:
17-
api_key: ${{ secrets.RUBYGEM_API_KEY }}
13+
runs-on: ubuntu-latest
14+
environment: release
15+
if: github.repository_owner == 'theforeman'
16+
17+
permissions:
18+
id-token: write
19+
20+
steps:
21+
- uses: voxpupuli/ruby-release@v0

0 commit comments

Comments
 (0)