File tree Expand file tree Collapse file tree 1 file changed +19
-8
lines changed
Expand file tree Collapse file tree 1 file changed +19
-8
lines changed Original file line number Diff line number Diff line change 1- name : On release published
1+ name : " Update Changelog"
2+
23on :
34 release :
45 types : [released]
56
67jobs :
7- changelog :
8- name : Update changelog
8+ update :
99 runs-on : ubuntu-latest
10+
1011 steps :
11- - uses : actions/checkout@v2
12+ - name : Checkout code
13+ uses : actions/checkout@v2
1214 with :
13- ref : master
14- - uses : rhysd/changelog-from-release/action@v2
15+ ref : main
16+
17+ - name : Update Changelog
18+ uses : stefanzweifel/changelog-updater-action@v1
19+ with :
20+ release-notes : ${{ github.event.release.body }}
21+ latest-version : ${{ github.event.release.name }}
22+
23+ - name : Commit updated CHANGELOG
24+ uses : stefanzweifel/git-auto-commit-action@v4
1525 with :
16- file : CHANGELOG.md
17- github_token : ${{ secrets.GITHUB_TOKEN }}
26+ branch : main
27+ commit_message : Update CHANGELOG
28+ file_pattern : CHANGELOG.md
You can’t perform that action at this time.
0 commit comments