File tree 3 files changed +13
-3
lines changed
3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 2
2
name : Release Drafter
3
3
4
4
' on ' :
5
+ workflow_dispatch :
5
6
workflow_run :
6
7
workflows :
7
8
- CI
27
28
${{ github.actor }} conclusion: ${{ github.event.workflow_run.conclusion }}
28
29
See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}}
29
30
30
- on-success :
31
+ release-drafter :
31
32
runs-on : ubuntu-24.04
32
33
if : ${{ github.event.workflow_run.conclusion == 'success' }}
33
34
permissions :
Original file line number Diff line number Diff line change @@ -9,6 +9,13 @@ name: Release-galaxy
9
9
10
10
' on ' :
11
11
workflow_dispatch :
12
+ workflow_run :
13
+ workflows :
14
+ - Release-github
15
+ types :
16
+ - completed
17
+ branches :
18
+ - master
12
19
13
20
defaults :
14
21
run :
18
25
19
26
release-ansible-galaxy :
20
27
name : Release ansible-galaxy
28
+ needs : release-github
21
29
runs-on : ubuntu-24.04
22
30
steps :
23
31
- name : Check out the codebase.
Original file line number Diff line number Diff line change 5
5
# See: https://github.com/marketplace/actions/publish-ansible-role-to-galaxy
6
6
# See: https://github.com/ansible/galaxy/issues/46
7
7
8
- name : Release-gh
8
+ name : Release-github
9
9
10
10
' on ' :
11
11
workflow_dispatch :
@@ -16,8 +16,9 @@ defaults:
16
16
17
17
jobs :
18
18
19
- release-git :
19
+ release-github :
20
20
name : Release github
21
+ needs : release-drafter
21
22
runs-on : ubuntu-24.04
22
23
steps :
23
24
- name : 🚀 Create Release version
You can’t perform that action at this time.
0 commit comments