File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change 1
- name : Claude PR Assistant
1
+ name : Claude Code
2
2
3
3
on :
4
4
issue_comment :
10
10
pull_request_review :
11
11
types : [submitted]
12
12
13
+ env :
14
+ UV_PYTHON : 3.13
15
+ UV_FROZEN : " 1"
16
+
13
17
jobs :
14
18
claude-code-action :
15
19
if : |
@@ -23,14 +27,32 @@ jobs:
23
27
pull-requests : read
24
28
issues : read
25
29
id-token : write
30
+ actions : read
26
31
steps :
27
32
- name : Checkout repository
28
33
uses : actions/checkout@v4
29
34
with :
30
35
fetch-depth : 1
31
36
37
+ - uses : astral-sh/setup-uv@v5
38
+ with :
39
+ enable-cache : true
40
+
41
+ - uses : denoland/setup-deno@v2
42
+ with :
43
+ deno-version : v2.x
44
+
45
+ - run : uv tool install pre-commit
46
+
47
+ - run : make install
48
+
32
49
- name : Run Claude PR Action
33
50
uses : anthropics/claude-code-action@beta
34
51
with :
35
52
anthropic_api_key : ${{ secrets.ANTHROPIC_API_KEY }}
36
53
timeout_minutes : " 60"
54
+ additional_permissions : |
55
+ actions: read
56
+ allowed_tools : |
57
+ Bash(make:*)
58
+ Bash(uv:*)
You can’t perform that action at this time.
0 commit comments