mirror of
https://github.com/pacnpal/Claude-code-review.git
synced 2025-12-20 04:11:04 -05:00
- Add auto-review input parameter (defaults to true for backward compatibility) - Skip code review when auto-review is set to false - Update README with usage examples for disabling auto-review - Support conditional reviews based on labels or other criteria
25 lines
616 B
YAML
25 lines
616 B
YAML
# action.yml
|
|
name: 'Claude Code Review'
|
|
description: 'Automated code review using Claude'
|
|
inputs:
|
|
github-token:
|
|
description: 'GitHub token'
|
|
required: true
|
|
anthropic-key:
|
|
description: 'Anthropic API key'
|
|
required: true
|
|
pr-number:
|
|
description: 'Pull request number'
|
|
required: true
|
|
auto-review:
|
|
description: 'Enable automatic code reviews (set to false to skip review)'
|
|
required: false
|
|
default: 'true'
|
|
outputs:
|
|
diff_size:
|
|
description: 'Size of the relevant code changes'
|
|
review:
|
|
description: 'Generated code review'
|
|
runs:
|
|
using: 'node20'
|
|
main: 'dist/index.js' |