From 0c7e8af6bb7df962c8d37051c8540ed6c4ef0106 Mon Sep 17 00:00:00 2001 From: yamilmedina Date: Thu, 18 Jul 2024 16:30:58 +0200 Subject: [PATCH] chore: update crowdin action --- .github/workflows/crowdin-translations-updater.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/crowdin-translations-updater.yml b/.github/workflows/crowdin-translations-updater.yml index 2987fdcbd61..1de0a9d8fa5 100644 --- a/.github/workflows/crowdin-translations-updater.yml +++ b/.github/workflows/crowdin-translations-updater.yml @@ -75,3 +75,15 @@ jobs: pull_request_base_branch_name: ${{env.BASE_BRANCH}} config: "crowdin.yml" + + - name: Assign Reviewers + if: ${{ steps.crowdin-updater.outputs.pull_request_number != '' }} + env: + 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" \