mirror of
https://github.com/D-Modem/D-Modem.github.io.git
synced 2026-11-28 10:18:04 -08:00
ci: auto-assign Neo-Desktop on new issues
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRREcvJwy7FPyndjKhK
This commit is contained in:
1 parent
973f52b832
commit
f7700804d5
1 file changed
+26
@@ -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"
|
||||
Reference in new issue
Block a user