Skip to content

Commit b725577

Browse files
authored
Merge pull request #493 from kimocoder/copilot/update-github-actions-workflow
Make Claude workflow resilient to external credit failures
2 parents ef29d5d + 5f54698 commit b725577

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/claude.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
jobs:
1010
claude:
11+
if: ${{ secrets.ANTHROPIC_API_KEY != null && vars.CLAUDE_CODE_ENABLED != 'false' }}
1112
runs-on: ubuntu-latest
1213
permissions:
1314
id-token: write
@@ -21,6 +22,7 @@ jobs:
2122

2223
- name: Run Claude Code Action
2324
uses: anthropics/claude-code-action@v1
25+
continue-on-error: true
2426
with:
2527
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
2628

0 commit comments

Comments
 (0)