Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/bonk.yml
Original file line number Diff line number Diff line change
@@ -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 }}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kodster28 do we have an org-level secret we can use here?

with:
model: "anthropic/claude-opus-4-5"
agent: docs # use our Docs agent by default in this repo
mentions: "/bonk,@ask-bonk"
permissions: CODEOWNERS
Loading