Skip to content

Commit

Permalink
Github actions for releasing and tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
stejskalleos committed Jan 26, 2024
1 parent 415543f commit 9903dd5
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: Release

on:
create:
ref_type: tag

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 }}
13 changes: 13 additions & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Tag

on:
push:
paths:
- "lib/foreman_ansible/version.rb"

jobs:
release:
name: Create a tag
uses: theforeman/actions/.github/workflows/create_tag.yml@v0
with:
allowed_owner: theforeman

0 comments on commit 9903dd5

Please sign in to comment.