Skip to content

Bunaider PR Review Response #71

Bunaider PR Review Response

Bunaider PR Review Response #71

name: Bunaider PR Review Response
on:
pull_request_review:
types: [submitted]
jobs:
respond-to-review:
if: github.event.review.state == 'changes_requested' && contains(github.event.review.body, 'aider:')
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Bun
uses: oven-sh/setup-bun@v1
- name: Install bunaider
run: bun install -g bunaider
- run: bunaider init
- name: Run bunaider fix on PR
env:
GITHUB_TOKEN: ${{ secrets.TSCIRCUIT_BOT_GITHUB_TOKEN }}
ANTHROPIC_API_KEY: ${{ secrets.TSCIRCUIT_BOT_ANTHROPIC_API_KEY }}
AIDER_SONNET: 1
run: bunaider fix ${{ github.event.pull_request.number }}