diff options
author | Fabian Müller <80399010+fmoc@users.noreply.github.com> | 2021-08-05 16:05:29 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2021-08-05 16:06:13 +0300 |
commit | ea409ce2290c474fba78dbe13d62f111acd1eed1 (patch) | |
tree | b0cb3db735a30761e122ca187a5faf453602e400 /.github | |
parent | fe74ab6081bdce3848488e35cd5f4b7db4698c95 (diff) |
Fix broken build when no translations are updated
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/translate.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/translate.yml b/.github/workflows/translate.yml index 5730ad909..f9b716e68 100644 --- a/.github/workflows/translate.yml +++ b/.github/workflows/translate.yml @@ -40,7 +40,7 @@ jobs: git status git stash git pull --ff-only origin - [[ "$(git stash list)" != "" ]] && git stash pop + if [[ "$(git stash list)" != "" ]]; then git stash pop; else echo "no stash to restore"; fi - name: commit and push if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' |