feat(github): add contributor issue commands

This commit is contained in:
t8y2
2026-07-27 21:47:32 +08:00
parent 1d671ca698
commit a96cf11942
8 changed files with 516 additions and 64 deletions
+5 -3
View File
@@ -1,4 +1,4 @@
name: Issue Claim
name: Issue Commands
on:
issue_comment:
@@ -11,6 +11,7 @@ concurrency:
permissions:
contents: read
issues: write
pull-requests: read
jobs:
claim:
@@ -28,9 +29,10 @@ jobs:
owner: ${{ github.repository_owner }}
repositories: dbx
permission-issues: write
permission-pull-requests: read
- name: Handle /claim command
run: node .github/scripts/issue-claim.mjs
- name: Handle issue command
run: node .github/scripts/issue-commands.mjs
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
ISSUE_NUMBER: ${{ github.event.issue.number }}