File tree Expand file tree Collapse file tree 3 files changed +11
-34
lines changed Expand file tree Collapse file tree 3 files changed +11
-34
lines changed Original file line number Diff line number Diff line change 1
1
name : Changelog
2
-
3
- # Controls when the workflow will run
4
2
on :
5
- # Run this workflow manually from the Actions tab
6
- workflow_dispatch :
7
-
8
- permissions :
9
- contents : ' write'
10
-
3
+ push :
4
+ tags :
5
+ - " v*.*"
11
6
jobs :
12
7
build :
13
8
name : Create Release
14
9
runs-on : ubuntu-latest
10
+ # if: startsWith(github.ref, 'refs/tags/v')
15
11
steps :
16
12
17
13
- name : Checkout code
18
- uses : actions/checkout@v3
19
-
14
+ uses : actions/checkout@v4
15
+
20
16
- name : Checkout action
21
17
run :
git clone -b main "https://git:[email protected] /epmc-sec/cloudlab/cloud_custodian/ecc-actions.git" ecc-actions
22
18
env :
32
28
includeInvalidCommits : true
33
29
excludeTypes : " "
34
30
35
- - name : Commit CHANGELOG.md
36
- uses : ./ecc-actions/git-auto-commit-action
31
+ - name : Release
32
+ uses : softprops/action-gh-release@v2
37
33
with :
38
- branch : changelog
39
- create_branch : true
40
- commit_message : ' skip: update CHANGELOG.md for ${{ github.ref_name }}'
41
- file_pattern : CHANGELOG.md
42
- reverseOrder : true
43
- excludeTypes : skip
34
+ name : Release ${{ github.ref_name }}
35
+ body : ${{ steps.changelog.outputs.changes }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- 1 .0
1
+ v2 .0
You can’t perform that action at this time.
0 commit comments