From e17b548fd6546189c7b68c70299afbc3d0074f20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20NEDJAR?= Date: Mon, 23 Mar 2026 15:19:21 +0100 Subject: [PATCH 1/3] ci: add auto-assign workflow for issues and PRs Automatically assigns @nedseb on newly opened issues and PRs. Based on makecode-steami workflow, adapted for wiki team. Closes #85 --- .github/workflows/auto-assign.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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..e57fa86 --- /dev/null +++ b/.github/workflows/auto-assign.yml @@ -0,0 +1,22 @@ +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@v2 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + assignees: nedseb + numOfAssignee: 1 + allowSelfAssign: false From e5caa03731b3cc3ce1d5544f72af3553c734977e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20NEDJAR?= Date: Mon, 23 Mar 2026 15:27:20 +0100 Subject: [PATCH 2/3] fix: allow self-assign when sole assignee candidate --- .github/workflows/auto-assign.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-assign.yml b/.github/workflows/auto-assign.yml index e57fa86..2e4e794 100644 --- a/.github/workflows/auto-assign.yml +++ b/.github/workflows/auto-assign.yml @@ -19,4 +19,4 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} assignees: nedseb numOfAssignee: 1 - allowSelfAssign: false + allowSelfAssign: true From de65fa16d5a568959a52cb19154f76c1e91e1f5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20NEDJAR?= Date: Mon, 23 Mar 2026 15:30:30 +0100 Subject: [PATCH 3/3] fix: use pull_request_target for fork PR assignment --- .github/workflows/auto-assign.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-assign.yml b/.github/workflows/auto-assign.yml index 2e4e794..196c8b8 100644 --- a/.github/workflows/auto-assign.yml +++ b/.github/workflows/auto-assign.yml @@ -3,7 +3,7 @@ name: Auto Assign on: issues: types: [opened] - pull_request: + pull_request_target: types: [opened] jobs: