Skip to content

Commit

Permalink
Merge pull request #1435 from rffontenelle/patch-2
Browse files Browse the repository at this point in the history
Do not fail when there's nothing to commit
  • Loading branch information
webknjaz authored Dec 7, 2023
2 parents 9b735c9 + b978b7d commit ae0acb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/translation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ jobs:
run: |
git_hash=$(git rev-parse --short "${GITHUB_SHA}")
git add --force locales/messages.pot
git diff-index --quiet HEAD || \
git commit \
-m "Update messages.pot as of version ${git_hash}" \
locales/messages.pot
Expand Down

0 comments on commit ae0acb5

Please sign in to comment.