diff --git a/.github/workflows/translation-sync.yml b/.github/workflows/translation-sync.yml index 921198a59f1..f0503ec6ebc 100644 --- a/.github/workflows/translation-sync.yml +++ b/.github/workflows/translation-sync.yml @@ -60,9 +60,12 @@ jobs: sudo apt install gh gh auth login --with-token <<< ${{ github.token }} - gh pr close "$branch_name" || true + pr_close=$(gh pr close "$branch_name" || true) pr_output=$(gh pr create --base "master" --title "[translations] New strings from crowdin 📚" --head "binary-com:$branch_name" -F ".github/translation_sync_template.md") echo "PR_URL=$pr_output" >> $GITHUB_ENV + echo "PR_CLOSE=$pr_close" >> $GITHUB_ENV + echo $pr_close + echo $pr_output fi # Upload new strings to Crowdin