From 708713c3d1dd6697a1308ff9c4ac8842a6485322 Mon Sep 17 00:00:00 2001 From: BigThunderSR <17056173+BigThunderSR@users.noreply.github.com> Date: Mon, 11 Dec 2023 13:06:12 -0600 Subject: [PATCH] Add new workflows --- .github/workflows/auto-assign-issue.yaml | 19 +++++++++++++++++++ .github/workflows/auto-assign-pr.yaml | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 .github/workflows/auto-assign-issue.yaml create mode 100644 .github/workflows/auto-assign-pr.yaml 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 +