Skip to content

Commit 169dfb5

Browse files
authored
Don't fail if no changelog changes need to be pushed
Fixes #8
1 parent c2ad879 commit 169dfb5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/changelog.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,4 @@ jobs:
3333
git config --local user.name github-actions
3434
git config --local user.email github-actions@github.com
3535
git add changelog.md
36-
git commit -m "🖉 Update changelog with ${GITHUB_REF#refs/*/}"
37-
git push
36+
(git commit -m "🖉 Update changelog with ${GITHUB_REF#refs/*/}" && git push) || echo "Done"

0 commit comments

Comments
 (0)