Skip to content

Commit 971129c

Browse files
thepastaclawlklimekPastaPastaPasta
authored
ci: skip Claude review when auth token is unavailable (#826)
Co-authored-by: PastaClaw <thepastaclaw@users.noreply.github.com> Co-authored-by: lklimek <842586+lklimek@users.noreply.github.com> Co-authored-by: PastaPastaPasta <6443210+PastaPastaPasta@users.noreply.github.com>
1 parent 3087259 commit 971129c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/claude-code-review.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@ jobs:
2626
id-token: write
2727
env:
2828
ANTHROPIC_MODEL: ${{ vars.CLAUDE_MODEL || 'opus' }}
29+
CLAUDE_CODE_OAUTH_TOKEN_LKLIMEK: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN_LKLIMEK }}
2930
steps:
3031
- name: Claudius Review
32+
if: ${{ env.CLAUDE_CODE_OAUTH_TOKEN_LKLIMEK != '' }}
3133
uses: lklimek/claudius-review-action@main
3234
with:
33-
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN_LKLIMEK }}
35+
claude_code_oauth_token: ${{ env.CLAUDE_CODE_OAUTH_TOKEN_LKLIMEK }}
3436
memcan_url: ${{ vars.MEMCAN_URL }}
3537
memcan_api_key: ${{ secrets.MEMCAN_API_KEY }}

0 commit comments

Comments
 (0)