From d7ad8e4f5e57c1a1a05422052bb3d12a7d693474 Mon Sep 17 00:00:00 2001 From: Matthew Murray Date: Tue, 1 Oct 2024 16:39:57 -0700 Subject: [PATCH] Auto assign PR to author --- .github/workflows/auto-assign.yaml | 15 +++++++++++++++ .github/workflows/labeler.yml | 1 + 2 files changed, 16 insertions(+) create mode 100644 .github/workflows/auto-assign.yaml diff --git a/.github/workflows/auto-assign.yaml b/.github/workflows/auto-assign.yaml new file mode 100644 index 00000000000..11e93c202e8 --- /dev/null +++ b/.github/workflows/auto-assign.yaml @@ -0,0 +1,15 @@ +name: Auto Assign PR + +on: + pull_request: + types: + - opened + +jobs: + add_assignees: + runs-on: ubuntu-latest + steps: + - uses: actions-ecosystem/action-add-assignees@v1 + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + assignees: ${{ github.actor }} diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 31e78f82a62..f5cb71bfc14 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,4 +1,5 @@ name: "Pull Request Labeler" + on: - pull_request_target