Fix Claude issue triage workflow
This commit is contained in:
parent
d413b847ab
commit
f68645bbad
|
|
@ -11,7 +11,6 @@ jobs:
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
issues: write
|
issues: write
|
||||||
id-token: write
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|
@ -23,7 +22,7 @@ jobs:
|
||||||
id: claude-triage
|
id: claude-triage
|
||||||
uses: anthropics/claude-code-action@e763fe78de2db7389e04818a00b5ff8ba13d1360 # v1
|
uses: anthropics/claude-code-action@e763fe78de2db7389e04818a00b5ff8ba13d1360 # v1
|
||||||
with:
|
with:
|
||||||
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
|
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||||
# Restrict Claude to read-only inspection of the repo plus posting a single comment
|
# Restrict Claude to read-only inspection of the repo plus posting a single comment
|
||||||
# on THIS issue only. `gh issue comment` is pinned to the current issue number, so an
|
# on THIS issue only. `gh issue comment` is pinned to the current issue number, so an
|
||||||
# injection cannot redirect a comment to another issue. Close, label, reopen, assign,
|
# injection cannot redirect a comment to another issue. Close, label, reopen, assign,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue