diff --git a/.github/workflows/bonk.yml b/.github/workflows/bonk.yml new file mode 100644 index 000000000000000..79b08673bd27a8a --- /dev/null +++ b/.github/workflows/bonk.yml @@ -0,0 +1,32 @@ +name: Bonk + +on: + issue_comment: + types: [created] + pull_request_review_comment: + types: [created] + +jobs: + bonk: + if: github.event.sender.type != 'Bot' + runs-on: ubuntu-latest + permissions: + id-token: write + contents: write + issues: write + pull-requests: write + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 1 + + - name: Run Bonk + uses: ask-bonk/ask-bonk/github@main + env: + ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} + with: + model: "anthropic/claude-opus-4-5" + agent: docs # use our Docs agent by default in this repo + mentions: "/bonk,@ask-bonk" + permissions: CODEOWNERS