diff --git a/.github/workflows/crowdin-translations-updater.yml b/.github/workflows/crowdin-translations-updater.yml index 1de0a9d8fa5..553e484a389 100644 --- a/.github/workflows/crowdin-translations-updater.yml +++ b/.github/workflows/crowdin-translations-updater.yml @@ -82,8 +82,9 @@ jobs: GH_TOKEN: ${{ secrets.ANDROID_BOB_GH_TOKEN }} PR_NUMBER: ${{ steps.crowdin-updater.outputs.pull_request_number }} run: | - gh api \ - --method POST \ - -H "Accept: application/vnd.github+json" \ - /repos/${{ github.repository }}/pulls/$PR_NUMBER/requested_reviewers \ - -f "reviewers[]=wireapp/android" \ + curl -X POST \ + -H "Accept: application/vnd.github+json" \ + -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}"\ + -H "X-GitHub-Api-Version: 2022-11-28" \ + https://api.github.com/repos${{ github.owner }}/${{ github.repository }}/pulls/$PR_NUMBER/requested_reviewers \ + -d '{"reviewers":[],"team_reviewers":["wireapp/android"]}'