From cf9588cdf7d5aa274b7a6ec693c419e70cb89756 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 3 Nov 2024 21:45:38 +0200 Subject: [PATCH] Update auto-assign.yml --- .github/workflows/auto-assign.yml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/auto-assign.yml b/.github/workflows/auto-assign.yml index dd43e711..3a3f563a 100644 --- a/.github/workflows/auto-assign.yml +++ b/.github/workflows/auto-assign.yml @@ -1,13 +1,23 @@ -name: 'Auto Assign' +name: Auto assign issues and pull requests + on: issues: - types: [opened] + types: + - opened pull_request: - types: [opened] + types: + - opened jobs: - add-reviews: + run: runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write steps: - - uses: kentaro-m/auto-assign-action@v2.0.0 - addAssignees: author \ No newline at end of file + - name: Assign issues and pull requests + uses: gustavofreze/auto-assign@1.0.0 + with: + assignees: 'user1,user2' + github_token: '${{ secrets.GITHUB_TOKEN }}' + assignment_options: 'ISSUE,PULL_REQUEST'