From 7b2ef2dda56606a1e6b8762a79bb55423e8f335f Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Fri, 1 Oct 2021 20:59:31 +0100 Subject: [PATCH] :building_construction: Action to auto-assign author as PR reviewer --- .github/workflows/assign-reviewer.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/assign-reviewer.yml diff --git a/.github/workflows/assign-reviewer.yml b/.github/workflows/assign-reviewer.yml new file mode 100644 index 00000000..60135fa2 --- /dev/null +++ b/.github/workflows/assign-reviewer.yml @@ -0,0 +1,14 @@ +# Automatically assigns the author as a reviewer to opened PRs and issues +name: 💡 Auto-Assign Author to PR +on: + pull_request: + types: [opened] + issues: + types: [opened] +jobs: + assign-author: + runs-on: ubuntu-latest + steps: + - name: Assign author + uses: technote-space/assign-author@v1 + GITHUB_TOKEN: ${{secrets.BOT_GITHUB_TOKEN}} \ No newline at end of file