Browse Source

Align Claude action tools + Simplify Prompt (#518)

no-claude-review-label
Mick Letofsky 5 days ago committed by GitHub
parent
commit
1736006869
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      .github/workflows/_respond.yml
  2. 7
      .github/workflows/_review-code.yml

2
.github/workflows/_respond.yml

@ -116,7 +116,7 @@ jobs: @@ -116,7 +116,7 @@ jobs:
- name: Run Claude Code
id: claude
timeout-minutes: 10
uses: anthropics/claude-code-action@6337623ebba10cf8c8214b507993f8062fd4ccfb # v1.0.22
uses: anthropics/claude-code-action@f0c8eb29807907de7f5412d04afceb5e24817127 # v1.0.23
with:
anthropic_api_key: ${{ steps.get-kv-secrets.outputs.ANTHROPIC-RESPONSE-API-KEY }}
track_progress: true

7
.github/workflows/_review-code.yml

@ -281,7 +281,10 @@ jobs: @@ -281,7 +281,10 @@ jobs:
- name: Review with Claude Code
timeout-minutes: 10
uses: anthropics/claude-code-action@6337623ebba10cf8c8214b507993f8062fd4ccfb # v1.0.22
uses: anthropics/claude-code-action@f0c8eb29807907de7f5412d04afceb5e24817127 # v1.0.23
env:
USE_AGENT_SDK: "true"
USE_SIMPLE_PROMPT: "true"
with:
anthropic_api_key: ${{ steps.get-kv-secrets.outputs.ANTHROPIC-CODE-REVIEW-API-KEY }}
track_progress: true
@ -290,4 +293,4 @@ jobs: @@ -290,4 +293,4 @@ jobs:
Use bitwarden-code-reviewer agent to review the currently checked out pull request changes. The agent will post inline comments and a summary comment directly. Do not repeat or summarize the agent's findings after it completes.
claude_args: |
--verbose
--allowedTools "mcp__github_comment__update_claude_comment,mcp__github_inline_comment__create_inline_comment,Bash(gh pr diff:*),Bash(gh pr view:*)"
--allowedTools "Read,Grep,Glob,Bash(git diff:*),Bash(git log:*),Bash(git show:*),Bash(gh pr view:*),Bash(gh pr diff:*),Bash(gh pr review:*),Bash(gh pr comment:*),mcp__github_comment__update_claude_comment,mcp__github_inline_comment__create_inline_comment"

Loading…
Cancel
Save