From 710b1320c06bec0f4b8ea16290f784bf7891d93f Mon Sep 17 00:00:00 2001 From: Peter Buchegger Date: Mon, 14 Dec 2020 17:00:53 +0100 Subject: [PATCH] try another script --- .github/auto_assign.yml | 4 ---- .github/workflows/auto_assign.yml | 15 +++++++++++---- 2 files changed, 11 insertions(+), 8 deletions(-) delete mode 100644 .github/auto_assign.yml diff --git a/.github/auto_assign.yml b/.github/auto_assign.yml deleted file mode 100644 index 24d8ad9..0000000 --- a/.github/auto_assign.yml +++ /dev/null @@ -1,4 +0,0 @@ -addAssignees: true - -assignees: - - peterus diff --git a/.github/workflows/auto_assign.yml b/.github/workflows/auto_assign.yml index d03ca06..30cedb9 100644 --- a/.github/workflows/auto_assign.yml +++ b/.github/workflows/auto_assign.yml @@ -1,8 +1,15 @@ -name: 'Auto Assign' -on: pull_request +name: Issue assignment + +on: + issues: + types: [opened] jobs: - add-reviews: + auto-assign: runs-on: ubuntu-latest steps: - - uses: kentaro-m/auto-assign-action@v1.1.2 + - name: 'Auto-assign issue' + uses: pozil/auto-assign-issue@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + assignees: peterus