Merge pull request #18209 from anthropics/hackyon/update-to-claude-code-action

fix: add github_token input to claude-code-action workflows
This commit is contained in:
JB 2026-01-14 16:31:27 -05:00 committed by GitHub
commit 18979efb8d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 0 deletions

View file

@ -28,6 +28,7 @@ jobs:
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }}
prompt: "/dedupe ${{ github.repository }}/issues/${{ github.event.issue.number || inputs.issue_number }}" prompt: "/dedupe ${{ github.repository }}/issues/${{ github.event.issue.number || inputs.issue_number }}"
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
claude_args: "--model claude-sonnet-4-5-20250929" claude_args: "--model claude-sonnet-4-5-20250929"

View file

@ -47,6 +47,7 @@ jobs:
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }}
prompt: | prompt: |
You're an issue triage assistant for GitHub issues. Your task is to analyze the issue and select appropriate labels from the provided list. You're an issue triage assistant for GitHub issues. Your task is to analyze the issue and select appropriate labels from the provided list.

View file

@ -52,6 +52,7 @@ jobs:
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }}
prompt: | prompt: |
You're an oncall triage assistant for GitHub issues. Your task is to identify critical issues that require immediate oncall attention. You're an oncall triage assistant for GitHub issues. Your task is to identify critical issues that require immediate oncall attention.