From 673dc856a7324a4194ce3099501962b1183fdd86 Mon Sep 17 00:00:00 2001 From: Omar Santos Date: Wed, 27 Nov 2024 01:02:00 -0500 Subject: [PATCH 1/2] 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' From 88af80bf7e2aaf91d26c0829c50cf7ff32cf7b76 Mon Sep 17 00:00:00 2001 From: Omar Santos Date: Wed, 27 Nov 2024 01:03:45 -0500 Subject: [PATCH 2/2] Update assign_pr.yml --- .github/workflows/assign_pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/assign_pr.yml b/.github/workflows/assign_pr.yml index 00978ae..9773a79 100644 --- a/.github/workflows/assign_pr.yml +++ b/.github/workflows/assign_pr.yml @@ -19,5 +19,5 @@ jobs: - name: Assign pull request uses: actions-ecosystem/action-add-assignees@v1 with: - github-token: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.GITHUB_TOKEN }} assignees: 'santosomar'