Skip to content

Commit 0991320

Browse files
pi-anlandrewleech
authored andcommitted
Configure Claude workflows for on-request reviews only
- Remove claude-code-review.yml (automatic reviews on PR open/sync) - Update claude.yml with custom prompt for minimal, technical reviews - Reviews now only trigger via @claude mentions in comments - Prompt instructs Claude to be concise, focus on technical issues, and follow tone guidelines from CLAUDE.md
1 parent 7555069 commit 0991320

File tree

2 files changed

+9
-63
lines changed

2 files changed

+9
-63
lines changed

.github/workflows/claude-code-review.yml

Lines changed: 0 additions & 57 deletions
This file was deleted.

.github/workflows/claude.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,14 @@ jobs:
4040
additional_permissions: |
4141
actions: read
4242
43-
# Optional: Give a custom prompt to Claude. If this is not specified, Claude will perform the instructions specified in the comment that tagged it.
44-
# prompt: 'Update the pull request description to include a summary of changes.'
43+
# Custom prompt to guide Claude's behavior
44+
prompt: |
45+
Perform the task requested in the comment. When reviewing code:
46+
- Be concise and technical
47+
- Focus on correctness, bugs, security, and performance issues
48+
- Avoid verbose formatting, emojis, and excessive praise
49+
- State facts directly without superlatives
50+
- Follow the tone and style guidelines in .claude/CLAUDE.md or CLAUDE.md if present
4551
46-
# Optional: Add claude_args to customize behavior and configuration
47-
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
48-
# or https://docs.claude.com/en/docs/claude-code/cli-reference for available options
49-
# claude_args: '--allowed-tools Bash(gh pr:*)'
52+
Proceed with the user's request.
5053

0 commit comments

Comments
 (0)