File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " Update Changelog"
2
+
3
+ on :
4
+ release :
5
+ types : [released]
6
+
7
+ jobs :
8
+ update :
9
+ runs-on : ubuntu-latest
10
+
11
+ steps :
12
+ - name : Checkout code
13
+ uses : actions/checkout@v2
14
+ with :
15
+ ref : ${{ github.ref_name }}
16
+
17
+ - name : Update Changelog
18
+ uses : stefanzweifel/changelog-updater-action@v1
19
+ with :
20
+ latest-version : ${{ github.event.release.tag_name }}
21
+ release-notes : ${{ github.event.release.body }}
22
+ compare-url-target-revision : ${{ github.event.release.target_commitish }}
23
+
24
+ - name : Commit updated CHANGELOG
25
+ uses : stefanzweifel/git-auto-commit-action@v4
26
+ with :
27
+ branch : ${{ github.event.release.target_commitish }}
28
+ commit_message : Update CHANGELOG.md
29
+ file_pattern : CHANGELOG.md
You can’t perform that action at this time.
0 commit comments