Skip to content

Commit 3eed95a

Browse files
chore: update changelog on release
1 parent 7609d4f commit 3eed95a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/docker-image.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,13 @@ jobs:
6868
- name: Checkout repository
6969
uses: actions/checkout@v3
7070

71+
- name: Update CHANGELOG
72+
id: changelog
73+
uses: requarks/changelog-action@v1
74+
with:
75+
token: ${{ github.token }}
76+
tag: ${{ github.ref_name }}
77+
7178
- name: Create Release
7279
id: create_release
7380
uses: actions/create-release@v1
@@ -79,5 +86,13 @@ jobs:
7986
body: |
8087
This release provides the container image:
8188
`ghcr.io/davidecavestro/gphotos-cdp:${{ github.ref_name }}`
89+
${{ steps.changelog.outputs.changes }}
8290
draft: false
8391
prerelease: false
92+
93+
- name: Commit CHANGELOG.md
94+
uses: stefanzweifel/git-auto-commit-action@v4
95+
with:
96+
branch: main
97+
commit_message: 'docs: update CHANGELOG.md for ${{ github.ref_name }} [skip ci]'
98+
file_pattern: CHANGELOG.md

0 commit comments

Comments
 (0)