-
Notifications
You must be signed in to change notification settings - Fork 12
35 lines (32 loc) · 1018 Bytes
/
claude-code-review.yml
File metadata and controls
35 lines (32 loc) · 1018 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
name: "Claude review (label: claudius-review)"
"on":
pull_request:
types: [labeled, synchronize]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
review:
if: >
github.event.pull_request.draft == false &&
(
(github.event.action == 'labeled' && github.event.label.name == 'claudius-review') ||
(github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'claudius-review'))
)
runs-on: ubuntu-latest
timeout-minutes: 40
permissions:
contents: read
issues: write
pull-requests: write
id-token: write
env:
ANTHROPIC_MODEL: ${{ vars.CLAUDE_MODEL || 'opus' }}
steps:
- name: Claudius Review
uses: lklimek/claudius-review-action@main
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN_LKLIMEK }}
memcan_url: ${{ vars.MEMCAN_URL }}
memcan_api_key: ${{ secrets.MEMCAN_API_KEY }}