fix: auto-merge for crowdin download pull request not working (#1661)

This commit is contained in:
Meier Lukas
2024-12-15 13:02:44 +01:00
committed by GitHub
parent f857105994
commit 5bdc669e07

View File

@@ -42,7 +42,8 @@ jobs:
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
- name: Enable auto-merge
if: steps.crowdin-download.outputs.pull_request_number != '' && steps.crowdin-download.outputs.pull_request_number != null
env:
GITHUB_TOKEN: ${{ steps.obtainToken.outputs.token }}
run: |
gh pr merge ${{steps.crowdin-download.pull_request_number}} --auto --merge --squash --delete-branch --title "chore(lang): updated translations from crowdin"
gh pr merge ${{steps.crowdin-download.outputs.pull_request_number}} --auto --merge --squash --delete-branch --subject "chore(lang): updated translations from crowdin"