👷 fix ci error when no changlog performed (#835)

This commit is contained in:
Ju4tCode 2022-02-25 12:58:38 +08:00 committed by GitHub
parent e6cd3e57f5
commit 339c25638b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ jobs:
git config user.name github-actions[bot]
git config user.email github-actions[bot]@users.noreply.github.com
git add .
git commit -m ":memo: Update changelog"
git diff-index --quiet HEAD || git commit -m ":memo: Update changelog"
git push