Skip to content

Commit

Permalink
Use trusted publishers to release the gem
Browse files Browse the repository at this point in the history
  • Loading branch information
ekohl committed Feb 11, 2025
1 parent 347f378 commit a559c8c
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
---
name: Release

on:
on: # yamllint disable-line rule:truthy
push:
tags:
- 'v*'

jobs:
release:
name: Release gem
uses: theforeman/actions/.github/workflows/release-gem.yml@v0
with:
allowed_owner: theforeman
secrets:
api_key: ${{ secrets.RUBYGEM_API_KEY }}
runs-on: ubuntu-latest
environment: release
if: github.repository_owner == 'theforeman'

permissions:
id-token: write

steps:
- uses: voxpupuli/ruby-release@v0

0 comments on commit a559c8c

Please sign in to comment.