Skip to content

ci: add pr review bot #5

ci: add pr review bot

ci: add pr review bot #5

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: Pull pull-request-bot action
run: git clone --depth 1 --branch v2 https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/nventive/pull-request-bot.git .github/actions/pull-request-bot
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Run Pull Request Bot
run: node .github/actions/pull-request-bot/dist/index.js
env:
INPUT_API-KEY: ${{ secrets.ANTHROPIC_API_KEY }}
INPUT_CONFIG-PATH: "./pull-request-bot.json"