Skip to content

Commit 4337aba

Browse files
adamruzickaekohl
authored andcommitted
Set up trusted publishers workflow
1 parent f23678d commit 4337aba

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/release.yml

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

0 commit comments

Comments
 (0)