Skip to content

Commit ce02879

Browse files
committed
Update claude github actions
Signed-off-by: Maksym Pavlenko <[email protected]>
1 parent 2caae56 commit ce02879

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/claude.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,11 @@ jobs:
3232

3333
- name: Run Claude Code
3434
id: claude
35-
uses: anthropics/claude-code-action@beta
35+
uses: anthropics/claude-code-action@v1
3636
with:
3737
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
3838

39-
additional_permissions: |
40-
actions: read
41-
42-
allowed_tools: "Bash(go:*),Bash(golangci-lint:*),Bash(make:*),View,GlobTool,GrepTool,BatchTool,mcp__github"
43-
44-
custom_instructions: |
45-
Follow our coding standards
46-
Ensure tests and lints pass before making commits or PRs
47-
Run 'make test' to verify all tests pass
48-
Use Go conventions and best practices
39+
claude_args: |
40+
--max-turns 10
41+
--allowedTools "Bash(go:*),Bash(golangci-lint:*),Bash(make:*),View,GlobTool,GrepTool,BatchTool,mcp__github"
42+
--system-prompt "Follow our coding standards. Ensure tests and lints pass before making commits or PRs. Run 'make test' to verify all tests pass"

0 commit comments

Comments
 (0)