Skip to content

[Workers for Platforms] Add custom bindings docs for R2 and D1 #17319

[Workers for Platforms] Add custom bindings docs for R2 and D1

[Workers for Platforms] Add custom bindings docs for R2 and D1 #17319

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: bonk-${{ github.event.pull_request.number || github.event.issue.number || github.ref }}
cancel-in-progress: false
jobs:
bonk:
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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 1
- name: Set up pnpm
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
with:
version: 11
- name: Setup Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
id: setup-node
with:
node-version: 24.x
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run 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 only, so Bonk doesn't get stuck on
# approval prompts. This is intentionally not in opencode.jsonc so
# local/interactive sessions keep their normal permission prompts.
OPENCODE_CONFIG_CONTENT: '{"permission":"allow"}'
with:
model: "cloudflare-ai-gateway/anthropic/claude-opus-4-6"
opencode_version: "1.17.7"
agent: docs # use our Docs agent by default in this repo
mentions: "/bigbonk"
permissions: CODEOWNERS