Skip to content

Commit ae0acb5

Browse files
authored
Merge pull request #1435 from rffontenelle/patch-2
Do not fail when there's nothing to commit
2 parents 9b735c9 + b978b7d commit ae0acb5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/translation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565
run: |
6666
git_hash=$(git rev-parse --short "${GITHUB_SHA}")
6767
git add --force locales/messages.pot
68+
git diff-index --quiet HEAD || \
6869
git commit \
6970
-m "Update messages.pot as of version ${git_hash}" \
7071
locales/messages.pot

0 commit comments

Comments
 (0)