From 7ab085024a6d18d5c6bf771f6d46d4880157bdc5 Mon Sep 17 00:00:00 2001 From: Sapate Vaibhav Date: Mon, 20 May 2024 00:17:06 +0530 Subject: [PATCH] Create auto-assign.yml --- .github/workflows/auto-assign.yml | 19 +++++++++++++++++++ 1 file changed, 19 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..f18b5a1 --- /dev/null +++ b/.github/workflows/auto-assign.yml @@ -0,0 +1,19 @@ +name: Auto Assign +on: + issues: + types: [opened] + pull_request: + types: [opened] +jobs: + run: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - name: 'Auto-assign issue' + uses: pozil/auto-assign-issue@v1 + with: + repo-token: ${{ secrets.WORK }} + assignees: ${{ github.event.issue.user.login }} + numOfAssignee: 1