From 0645fc0cb717dbf312151371b5582f5a2292322c Mon Sep 17 00:00:00 2001 From: Matthew Barker Date: Sun, 16 Aug 2026 19:05:17 +0100 Subject: [PATCH] ci: add auto-assign reusable workflow --- .github/workflows/auto-assign.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 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..82d1574 --- /dev/null +++ b/.github/workflows/auto-assign.yml @@ -0,0 +1,24 @@ +# Auto-assign new issues and PRs to the maintainer. +# Reusable workflow: callers carry the triggers (issues + pull_request). +# ponytail: solo org, so this is mostly ceremony - every issue is already +# the maintainer's. Kept for completeness; harmless. + +name: Auto assign + +on: + workflow_call: + +permissions: + issues: write + pull-requests: write + +jobs: + assign: + runs-on: ubuntu-latest + steps: + - name: Auto-assign + uses: pozil/auto-assign-issue@2f3e41b009e91b530f973eff2538ec9b04d9f403 # v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + assignees: MBarkerUK + numOfAssignee: 1