Skip to content

Commit

Permalink
Add github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernhard committed Apr 6, 2024
1 parent 760e20a commit a2e8933
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/release_gem.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Release

on:
push:
# Pattern matched against refs/tags
tags:
- '**'

jobs:
release:
name: Release gem
uses: theforeman/actions/.github/workflows/release-gem.yml@v0
with:
allowed_owner: ATIX-AG
secrets:
api_key: ${{ secrets.RUBYGEM_API_KEY }}
25 changes: 25 additions & 0 deletions .github/workflows/ruby_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Ruby Testing

on:
pull_request:
push:
branches:
- 'main'
- '*-stable'

concurrency:
group: ${{ github.ref_name }}-${{ github.workflow }}
cancel-in-progress: true

jobs:
rubocop:
name: Rubocop
uses: theforeman/actions/.github/workflows/rubocop.yml@v0

test_ruby:
name: Ruby
needs: rubocop
uses: theforeman/actions/.github/workflows/foreman_plugin.yml@v0
with:
plugin: foreman_cve_scanner

0 comments on commit a2e8933

Please sign in to comment.