From 89c458e229fc58ea7ef078f9c92f23b4220540ae Mon Sep 17 00:00:00 2001 From: barredterra <14891507+barredterra@users.noreply.github.com> Date: Wed, 24 Jul 2024 09:59:46 +0200 Subject: [PATCH] chore: set PR reviewer for translations --- .github/helper/update_pot_file.sh | 2 +- .github/workflows/generate-pot-file.yml | 1 + crowdin.yml | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/helper/update_pot_file.sh b/.github/helper/update_pot_file.sh index 1b29b107ac5..5a9f794b753 100644 --- a/.github/helper/update_pot_file.sh +++ b/.github/helper/update_pot_file.sh @@ -37,4 +37,4 @@ gh auth setup-git git push -u upstream "${branch_name}" echo "Creating a PR..." -gh pr create --fill --base "${BASE_BRANCH}" --head "${branch_name}" -R frappe/erpnext +gh pr create --fill --base "${BASE_BRANCH}" --head "${branch_name}" --reviewer ${PR_REVIEWER} -R frappe/erpnext diff --git a/.github/workflows/generate-pot-file.yml b/.github/workflows/generate-pot-file.yml index a7a411ea53a..9e42f4e0439 100644 --- a/.github/workflows/generate-pot-file.yml +++ b/.github/workflows/generate-pot-file.yml @@ -36,3 +36,4 @@ jobs: env: GH_TOKEN: ${{ secrets.RELEASE_TOKEN }} BASE_BRANCH: ${{ matrix.branch }} + PR_REVIEWER: barredterra # change to your GitHub username if you copied this file diff --git a/crowdin.yml b/crowdin.yml index 8da1fb31949..da79a344f60 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -4,5 +4,7 @@ files: pull_request_title: "fix: sync translations from crowdin" pull_request_labels: - translation +pull_request_reviewers: + - barredterra # change to your GitHub username if you copied this file commit_message: "fix: %language% translations" append_commit_message: false