From c6aca96d6d8758348e090fd0d42c7f3cad493e4f Mon Sep 17 00:00:00 2001 From: Gustavo Freze de Araujo Santos Date: Thu, 4 Jan 2024 11:54:31 -0300 Subject: [PATCH] feat: Adds auto assign for issues and pull requests. --- .github/workflows/auto-assign.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/auto-assign.yml diff --git a/.github/workflows/auto-assign.yml b/.github/workflows/auto-assign.yml new file mode 100644 index 0000000..6a9bba4 --- /dev/null +++ b/.github/workflows/auto-assign.yml @@ -0,0 +1,22 @@ +name: Auto assign issues + +on: + issues: + types: + - opened + +jobs: + run: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - name: Assign issues + uses: gustavofreze/auto-assign@1.0.0 + with: + assignees: '${{ secrets.ASSIGNEES }}' + github_token: '${{ secrets.GITHUB_TOKEN }}' + allow_self_assign: 'true' + allow_no_assignees: 'true' + assignment_options: 'ISSUE' \ No newline at end of file