Skip to content

Commit 75ff322

Browse files
committed
feat: upd neds ci
1 parent 8085b34 commit 75ff322

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

Diff for: .github/workflows/draft.yml renamed to .github/workflows/release-drafter.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name: Release Drafter
33

44
'on':
5+
workflow_dispatch:
56
workflow_run:
67
workflows:
78
- CI
@@ -27,7 +28,7 @@ jobs:
2728
${{ github.actor }} conclusion: ${{ github.event.workflow_run.conclusion }}
2829
See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}}
2930
30-
on-success:
31+
release-drafter:
3132
runs-on: ubuntu-24.04
3233
if: ${{ github.event.workflow_run.conclusion == 'success' }}
3334
permissions:

Diff for: .github/workflows/release-galaxy.yml

+8
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ name: Release-galaxy
99

1010
'on':
1111
workflow_dispatch:
12+
workflow_run:
13+
workflows:
14+
- Release-github
15+
types:
16+
- completed
17+
branches:
18+
- master
1219

1320
defaults:
1421
run:
@@ -18,6 +25,7 @@ jobs:
1825

1926
release-ansible-galaxy:
2027
name: Release ansible-galaxy
28+
needs: release-github
2129
runs-on: ubuntu-24.04
2230
steps:
2331
- name: Check out the codebase.

Diff for: .github/workflows/release-github.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# See: https://github.com/marketplace/actions/publish-ansible-role-to-galaxy
66
# See: https://github.com/ansible/galaxy/issues/46
77

8-
name: Release-gh
8+
name: Release-github
99

1010
'on':
1111
workflow_dispatch:
@@ -16,8 +16,9 @@ defaults:
1616

1717
jobs:
1818

19-
release-git:
19+
release-github:
2020
name: Release github
21+
needs: release-drafter
2122
runs-on: ubuntu-24.04
2223
steps:
2324
- name: 🚀 Create Release version

0 commit comments

Comments
 (0)