From 673dc856a7324a4194ce3099501962b1183fdd86 Mon Sep 17 00:00:00 2001 From: Omar Santos Date: Wed, 27 Nov 2024 01:02:00 -0500 Subject: [PATCH] Create assign_pr.yml --- .github/workflows/assign_pr.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/assign_pr.yml diff --git a/.github/workflows/assign_pr.yml b/.github/workflows/assign_pr.yml new file mode 100644 index 0000000..00978ae --- /dev/null +++ b/.github/workflows/assign_pr.yml @@ -0,0 +1,23 @@ +# This workflow automatically assigns all new pull requests to the user "santosomar". +# +# To modify the assignee, update the `assignees` parameter below. + +name: Auto-assign pull requests + +on: + pull_request: + types: [opened] + +jobs: + auto-assign: + runs-on: ubuntu-latest + + permissions: + pull-requests: write + + steps: + - name: Assign pull request + uses: actions-ecosystem/action-add-assignees@v1 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + assignees: 'santosomar'