From b543853f1a6c0792e70c96911a3723a6e5a19a40 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Sun, 16 Jun 2024 16:19:40 +1000 Subject: [PATCH 1/2] add auto assign PR assignee --- .github/workflows/pr_assignee.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/pr_assignee.yml diff --git a/.github/workflows/pr_assignee.yml b/.github/workflows/pr_assignee.yml new file mode 100644 index 00000000000..95fe0c63869 --- /dev/null +++ b/.github/workflows/pr_assignee.yml @@ -0,0 +1,19 @@ +name: Assign PR to creator + +# Due to GitHub token limitation, only able to assign org members not authos from forks. +# https://github.com/thomaseizinger/assign-pr-creator-action/issues/3 + +on: + pull_request: + types: [opened] + branches-ignore: + - l10n_dev + +jobs: + automation: + runs-on: ubuntu-latest + steps: + - name: Assign PR to creator + uses: thomaseizinger/assign-pr-creator-action@v1.0.0 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} From 2813bc7b9675c9bfcf275dfa3427f4ba1bddcfb7 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Sun, 16 Jun 2024 16:23:23 +1000 Subject: [PATCH 2/2] fix typo --- .github/workflows/pr_assignee.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr_assignee.yml b/.github/workflows/pr_assignee.yml index 95fe0c63869..af6daff02b7 100644 --- a/.github/workflows/pr_assignee.yml +++ b/.github/workflows/pr_assignee.yml @@ -1,6 +1,6 @@ name: Assign PR to creator -# Due to GitHub token limitation, only able to assign org members not authos from forks. +# Due to GitHub token limitation, only able to assign org members not authors from forks. # https://github.com/thomaseizinger/assign-pr-creator-action/issues/3 on: