From b1ba65266b4fe2a8af2c9b12573d243f37d522a8 Mon Sep 17 00:00:00 2001 From: Maximilian Soelch Date: Wed, 7 Aug 2024 15:40:01 +0200 Subject: [PATCH] Add GH action to assign PR to its author --- .github/workflows/pullrequest-opened.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/pullrequest-opened.yml diff --git a/.github/workflows/pullrequest-opened.yml b/.github/workflows/pullrequest-opened.yml new file mode 100644 index 00000000..3876aa37 --- /dev/null +++ b/.github/workflows/pullrequest-opened.yml @@ -0,0 +1,13 @@ +name: Pull Request Opened +on: + pull_request_target: + types: [opened] + +jobs: + assign: + runs-on: ubuntu-latest + steps: + - name: Assign Pull Request to its Author + uses: technote-space/assign-author@v1 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}