diff --git a/.github/workflows/auto-assign-issue.yaml b/.github/workflows/auto-assign-issue.yaml new file mode 100644 index 00000000..502f1ef6 --- /dev/null +++ b/.github/workflows/auto-assign-issue.yaml @@ -0,0 +1,19 @@ +name: Issue assignment + +on: + issues: + types: [opened] + +jobs: + auto-assign: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - name: 'Auto-assign issue' + uses: pozil/auto-assign-issue@v1 + with: + assignees: BigThunderSR + numOfAssignee: 1 + allowSelfAssign: false + diff --git a/.github/workflows/auto-assign-pr.yaml b/.github/workflows/auto-assign-pr.yaml new file mode 100644 index 00000000..dfdcf3f5 --- /dev/null +++ b/.github/workflows/auto-assign-pr.yaml @@ -0,0 +1,19 @@ +name: PR assignment + +on: + pull_request: + types: [opened, edited, synchronize, reopened] + +jobs: + auto-assign: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - name: 'Auto-assign PR' + uses: pozil/auto-assign-issue@v1 + with: + assignees: BigThunderSR + numOfAssignee: 1 + allowSelfAssign: false +