Brian McKenna 08a41d619c
All checks were successful
Claude PR Bot / claude-bot (pull_request) Successful in 12s
Use BOT_TOKEN secret for the GITHUB_TOKEN
2026-02-15 23:28:33 +11:00

28 lines
777 B
YAML

name: Claude PR Bot
on:
issue_comment:
types: [created]
pull_request:
types: [opened, synchronize, ready_for_review, reopened]
pull_request_review:
types: [submitted]
pull_request_review_comment:
types: [created]
jobs:
claude-bot:
runs-on: native
if: >-
(github.event_name == 'pull_request') ||
(github.event_name == 'pull_request_review') ||
(github.event_name == 'pull_request_review_comment') ||
(github.event_name == 'issue_comment' && github.event.issue.pull_request)
steps:
- uses: actions/checkout@v4
- name: Run Claude Bot
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
run: nix run --accept-flake-config .#