Skip to content

ci: add pr review bot #4

ci: add pr review bot

ci: add pr review bot #4

Workflow file for this run

name: PR Review Bot
on:
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: read
pull-requests: write
jobs:
review:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Checkout pull-request-bot action
uses: actions/checkout@v4
with:
repository: nventive/pull-request-bot
ref: v2
token: ${{ secrets.GH_PAT }}
path: .github/actions/pull-request-bot
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Run Pull Request Bot
uses: ./.github/actions/pull-request-bot
with:
api-key: ${{ secrets.ANTHROPIC_API_KEY }}
config-path: "./pull-request-bot.json"