Browse Source

Update Claude Code Review to call our internal agent (#505)

* Update prompt for claude code, add verbose output, and added validation
pull/506/head
Mick Letofsky 2 weeks ago committed by GitHub
parent
commit
5adf7c27d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 10
      .github/workflows/_review-code.yml

10
.github/workflows/_review-code.yml

@ -187,6 +187,13 @@ jobs:
} }
}' > ~/.claude/settings.json }' > ~/.claude/settings.json
# Verify agent file exists
if [ -f "$MARKETPLACE_DIR/plugins/bitwarden-code-review/.claude-plugin/plugin.json" ]; then
echo "✅ Plugin metadata found:"
else
echo "⚠ Warning: Plugin metadata not found at expected location"
fi
echo "✅ Claude Code configured with local marketplace" echo "✅ Claude Code configured with local marketplace"
- name: Review with Claude Code - name: Review with Claude Code
@ -197,6 +204,7 @@ jobs:
track_progress: true track_progress: true
use_sticky_comment: true use_sticky_comment: true
prompt: | prompt: |
Use @agent-bitwarden-code-review:bitwarden-code-reviewer to review the currently checked out pull request changes. Use bitwarden-code-reviewer agent to review the currently checked out pull request changes.
claude_args: | 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 "mcp__github_comment__update_claude_comment,mcp__github_inline_comment__create_inline_comment,Bash(gh pr diff:*),Bash(gh pr view:*)"

Loading…
Cancel
Save