From 7f590d071f0a96652d4eb945fdad99b2abd9dd57 Mon Sep 17 00:00:00 2001 From: Ivan Magda Date: Fri, 29 Sep 2023 15:26:58 +0400 Subject: [PATCH] GitHub Actions: Automatically assign pull request authors (#687) --- .github/workflows/auto_author_assign.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/auto_author_assign.yml diff --git a/.github/workflows/auto_author_assign.yml b/.github/workflows/auto_author_assign.yml new file mode 100644 index 0000000000..fa63bf354a --- /dev/null +++ b/.github/workflows/auto_author_assign.yml @@ -0,0 +1,17 @@ +name: Auto Author Assign + +on: + pull_request_target: + types: [opened, reopened] + +permissions: + pull-requests: write + +jobs: + assign-author: + runs-on: ubuntu-22.04 + if: ${{ !github.event.pull_request.assignee }} + steps: + - uses: toshimaru/auto-author-assign@v2.0.1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file