Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

Commit 76fcd6e

Browse files
Merge pull request #42 from ATIX-AG/trusted_publishers
Use trusted publishers to release gem
2 parents 7a4b04f + 7b2b2be commit 76fcd6e

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

.github/workflows/release_gem.yaml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
1+
---
12
name: Release
23

34
on:
45
push:
56
# Pattern matched against refs/tags
6-
tags:
7-
- '**'
8-
7+
tags:
8+
- 'v*'
99
jobs:
1010
release:
1111
name: Release gem
12-
uses: theforeman/actions/.github/workflows/release-gem.yml@v0
13-
with:
14-
allowed_owner: ATIX-AG
15-
secrets:
16-
api_key: ${{ secrets.RUBYGEM_API_KEY }}
12+
runs-on: ubuntu-latest
13+
environment: release
14+
if: github.repository_owner == 'ATIX-AG'
15+
16+
permissions:
17+
id-token: write
18+
19+
steps:
20+
- uses: voxpupuli/ruby-release@v0

0 commit comments

Comments
 (0)