Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit 4ede415

Browse files
authored
using PAT to merge sync-translation PR (#6766)
1 parent aacac77 commit 4ede415

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/sync_crowdin_translations.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ jobs:
8989
git push --set-upstream origin "$branch_name" -f
9090
9191
sudo apt install gh
92-
gh auth login --with-token <<< ${{ github.token }}
92+
gh auth login --with-token <<< ${{ secrets.PERSONAL_ACCESS_TOKEN }}
9393
gh pr close "$branch_name" || true
9494
gh pr create --fill --base "master" --head "binary-com:$branch_name"
9595
9696
echo "Attempting to merge the PR."
97-
gh pr merge "$branch_name" --admin --squash
97+
gh pr merge "$branch_name" --admin --squash
9898
echo "**The translation PR has beed merged successfully.**"
9999
fi

0 commit comments

Comments
 (0)