Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

🔧 fix: update Claude workflows to use oauth token (#9711)

Arvin Xu8dcb00e2c94d
diff --git a/.github/workflows/claude-dedupe-issues.yml b/.github/workflows/claude-dedupe-issues.yml
index b2d51c22a8c..4b37baaba05 100644
--- a/.github/workflows/claude-dedupe-issues.yml
+++ b/.github/workflows/claude-dedupe-issues.yml
@@ -28,6 +28,6 @@ jobs:
uses: anthropics/claude-code-base-action@beta
with:
prompt: '/dedupe ${{ github.repository }}/issues/${{ github.event.issue.number || inputs.issue_number }}'
- anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
+ claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
claude_env: |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/claude-issue-triage.yml b/.github/workflows/claude-issue-triage.yml
index da4c7b9feda..fd46f7cf086 100644
--- a/.github/workflows/claude-issue-triage.yml
+++ b/.github/workflows/claude-issue-triage.yml
@@ -187,7 +187,7 @@ jobs:
prompt_file: /tmp/claude-prompts/triage-prompt.md
allowed_tools: "Bash(gh *),Read"
timeout_minutes: "5"
- anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
+ claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
claude_env: |
GH_TOKEN: ${{ secrets.GH_TOKEN }}