Skip to content

Commit

Permalink
Add GitHub actions for gem release and linting
Browse files Browse the repository at this point in the history
  • Loading branch information
bastian-src committed Apr 16, 2024
1 parent c992144 commit 3df4a6e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release_gem.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Release

# yamllint disable-line rule:truthy
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: theforeman
secrets:
api_key: ${{ secrets.RUBYGEM_API_KEY }}
11 changes: 11 additions & 0 deletions .github/workflows/yamllint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Yaml Lint
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: yaml-lint
uses: ibiqlik/action-yamllint@v3

0 comments on commit 3df4a6e

Please sign in to comment.