Skip to content

bootstrap_mtc_worker: account for inclusive validity endpoints #142

bootstrap_mtc_worker: account for inclusive validity endpoints

bootstrap_mtc_worker: account for inclusive validity endpoints #142

Workflow file for this run

name: Big Bonk
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
pull_request_review:
types: [submitted]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.issue.number || github.ref }}
cancel-in-progress: false
jobs:
bigbonk:
if: github.event.sender.type != 'Bot' && contains(github.event.comment.body, '/bigbonk')
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
id-token: write
contents: write
issues: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- run: rustup update stable && rustup default stable
- name: Run Big Bonk
uses: ask-bonk/ask-bonk/github@main
env:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_AI_GATEWAY_ACCOUNT_ID }}
CLOUDFLARE_GATEWAY_ID: ${{ secrets.CF_AI_GATEWAY_NAME }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_AI_GATEWAY_TOKEN }}
# Auto-approve tool calls in CI so Bonk doesn't stall on prompts.
# cf-aig-skip-cache bypasses the AI Gateway response cache so a
# re-run reflects the current PR instead of a cached completion.
OPENCODE_CONFIG_CONTENT: '{"permission":"allow","provider":{"cloudflare-ai-gateway":{"options":{"headers":{"cf-aig-skip-cache":"true"}}}}}'
with:
# Heavy tier: Claude via the gateway's Anthropic BYOK key (shared
# with cloudflare-docs). Higher quality, higher cost than /bonk.
model: "cloudflare-ai-gateway/anthropic/claude-opus-4-6"
opencode_version: "1.17.7"
mentions: "/bigbonk"
permissions: CODEOWNERS