albireo3754/bedrock-pr-review
Generate LLM pull request reviews using AWS Bedrock models
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token with read access to the PR (defaults to secrets.GITHUB_TOKEN) | no | — |
| bedrock-region | AWS region where the Bedrock model is hosted | yes | — |
| bedrock-model-id | Bedrock model identifier (e.g. anthropic.claude-3-sonnet-20240229-v1:0) | no | anthropic.claude-3-sonnet-20240229-v1:0 |
| review-instructions | Additional instructions or context for the reviewer agent | no | — |
| system-prompt | Optional override for the system prompt sent to the LLM | no | — |
| max-diff-chars | Maximum number of diff characters to send to the model | no | 60000 |
| max-model-tokens | Maximum tokens to request from the model response | no | 2500 |
| include-review-summary | If true, render a short summary of the review in the GitHub Actions job summary | no | true |
Outputs
| name | description |
|---|---|
| review | LLM generated review text |
| model-response-json | Raw JSON payload returned from the Bedrock invocation |