Skip to content

Commit f4aa772

Browse files
Merge pull request #18 from adfinis/chore/reusable_workflows
ci: use reusable workflows
2 parents c819bf5 + be04842 commit f4aa772

File tree

2 files changed

+18
-10
lines changed

2 files changed

+18
-10
lines changed

.github/workflows/galaxy.yml

+3-10
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
---
2-
#
3-
# Ansible managed
4-
#
5-
62
name: Release to Ansible Galaxy
73

84
on:
95
release:
106
types: [created, edited, published, released]
7+
118
jobs:
129
release:
13-
runs-on: ubuntu-20.04
14-
steps:
15-
- name: galaxy
16-
uses: robertdebock/[email protected]
17-
with:
18-
galaxy_api_key: ${{ secrets.galaxy_api_key }}
10+
uses: adfinis/github-workflows-bareos/.github/workflows/[email protected]
11+
secrets: inherit
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
# runs on each push to main and is responsible for creating new tags/releases
3+
name: Create Semantic Release
4+
5+
on:
6+
push:
7+
branches:
8+
- main
9+
- master
10+
11+
jobs:
12+
semantic-release:
13+
uses: adfinis/github-workflows-bareos/.github/workflows/[email protected]
14+
secrets:
15+
ADFINISBOT_GITHUB_TOKEN: ${{ secrets.ADFINISBOT_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)