We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc44a9c commit 64a0f43Copy full SHA for 64a0f43
.github/workflows/update-changelog.yml
@@ -0,0 +1,29 @@
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
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
27
+ branch: ${{ github.event.release.target_commitish }}
28
+ commit_message: Update CHANGELOG.md
29
+ file_pattern: CHANGELOG.md
0 commit comments