From a76230dd287ea2c408515dfa35860a61b84e9a63 Mon Sep 17 00:00:00 2001 From: modem7 Date: Wed, 22 Jul 2026 00:35:43 +0100 Subject: [PATCH] ci: auto-assign PRs to modem7 --- .github/workflows/autoassign.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/autoassign.yml b/.github/workflows/autoassign.yml index 7d2b62e..4e763a2 100644 --- a/.github/workflows/autoassign.yml +++ b/.github/workflows/autoassign.yml @@ -1,14 +1,30 @@ -name: Issue assignment +name: Issue and PR assignment on: issues: types: [opened] + pull_request: + types: [opened] jobs: - auto-assign: + auto-assign-issue: + if: github.event_name == 'issues' runs-on: ubuntu-latest + permissions: + issues: write steps: - name: 'Auto-assign issue' uses: pozil/auto-assign-issue@v4.0.1 with: assignees: modem7 + + auto-assign-pr: + if: github.event_name == 'pull_request' + runs-on: ubuntu-latest + permissions: + pull-requests: write + steps: + - name: 'Auto-assign PR' + uses: pozil/auto-assign-issue@v4.0.1 + with: + assignees: modem7 \ No newline at end of file