-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GitHub actions for gem release and linting
- Loading branch information
1 parent
c992144
commit 3df4a6e
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |