From 34175664d2d8eeef6f546ed496077b64f72e6d42 Mon Sep 17 00:00:00 2001 From: Neo <321592+Neo-Desktop@users.noreply.github.com> Date: Thu, 26 Nov 2026 18:24:41 -0800 Subject: [PATCH] ci: auto-assign Neo-Desktop on new issues (#7) Claude-Session: https://claude.ai/code/session_01B82eRREcvJwy7FPyndjKhK Co-authored-by: Claude Opus 5.5 --- .github/workflows/auto-assign.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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..26c0b02 --- /dev/null +++ b/.github/workflows/auto-assign.yml @@ -0,0 +1,26 @@ +# Auto-assign new issues. +# +# This workflow starts when a person opens an issue. +# It adds the project owner (Neo-Desktop) as an assignee. +# To change the assignee, change the ASSIGNEE value below. +name: Auto-assign issues + +on: + issues: + types: [opened] + +permissions: + issues: write + +jobs: + # Add the assignee to the issue that started this run. + assign: + runs-on: ubuntu-latest + steps: + - name: Add assignee + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + ASSIGNEE: Neo-Desktop + REPO: ${{ github.repository }} + ISSUE: ${{ github.event.issue.number }} + run: gh issue edit "$ISSUE" --repo "$REPO" --add-assignee "$ASSIGNEE"