Integrate into your GitHub pipeline to provide AI-powered code reviews using Amazon Bedrock
1.6K
QReview that enhances code review workflows using AI, and integrates with GitHub and Amazon Bedrock. It helps developers automate reviews, generate documentation, and surface security or improvement suggestions — all from the command line.
Setup: Add github workflow:
name: Run code review on PR
on:
pull_request:
types: [opened]
jobs:
run-qreview:
runs-on: ubuntu-latest
steps:
- name: Pull Docker image
run: docker pull aolb/qreview:latest
- name: Run the container
env:
AI_CLIENT: ${{ secrets.AI_CLIENT }}
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ secrets.AWS_REGION }}
run: |
docker run \
-e PR_URL="$PR_URL" \
-e AI_CLIENT="$AI_CLIENT" \
-e GITHUB_TOKEN="$GITHUB_TOKEN" \
-e AWS_ACCESS_KEY_ID="$AWS_ACCESS_KEY_ID" \
-e AWS_SECRET_ACCESS_KEY="$AWS_SECRET_ACCESS_KEY" \
-e AWS_REGION="$AWS_REGION" \
aolb/qreview
Set-up GitHub secrets:
Enable access to anthropic.claude-v2
Content type
Image
Digest
sha256:5b6f64c47…
Size
14.8 MB
Last updated
over 1 year ago
docker pull aolb/qreview