File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Bonk PR Review
2+
3+ on :
4+ pull_request :
5+ types : [opened, synchronize]
6+
7+ jobs :
8+ bonk :
9+ if : >-
10+ github.event.pull_request.head.repo.id == github.event.pull_request.base.repo.id &&
11+ github.event.sender.type != 'Bot'
12+ runs-on : ubuntu-latest
13+ timeout-minutes : 60
14+ concurrency :
15+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
16+ cancel-in-progress : false
17+ permissions :
18+ id-token : write
19+ contents : read
20+ issues : write
21+ pull-requests : write
22+ steps :
23+ - name : Checkout repository
24+ uses : actions/checkout@v7
25+
26+ - name : Run Bonk
27+ uses : ask-bonk/ask-bonk/github@c3f6dd354ca1f14329e8ea298958c000f0bfef3e
28+ env :
29+ CLOUDFLARE_ACCOUNT_ID : ${{ secrets.CF_AI_GATEWAY_ACCOUNT_ID }}
30+ CLOUDFLARE_GATEWAY_ID : ${{ secrets.CF_AI_GATEWAY_NAME }}
31+ CLOUDFLARE_API_TOKEN : ${{ secrets.CF_AI_GATEWAY_TOKEN }}
32+ with :
33+ model : " cloudflare-ai-gateway/anthropic/claude-opus-4-8"
34+ variant : " high"
35+ forks : " false"
36+ permissions : write
37+ token_permissions : NO_PUSH
38+ agent : bonk
39+ opencode_version : 1.15.13 # pin to this version as certain ones cause ProviderInitError issues
Original file line number Diff line number Diff line change 1+ name : Bonk
2+
3+ on :
4+ issue_comment :
5+ types : [created]
6+ pull_request_review_comment :
7+ types : [created]
8+
9+ jobs :
10+ bonk :
11+ if : github.event.sender.type != 'Bot'
12+ runs-on : ubuntu-latest
13+ timeout-minutes : 60
14+ concurrency :
15+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.issue.number || github.ref }}
16+ cancel-in-progress : false
17+ permissions :
18+ id-token : write
19+ contents : write
20+ issues : write
21+ pull-requests : write
22+ steps :
23+ - name : Checkout repository
24+ uses : actions/checkout@v7
25+
26+ - name : Run Bonk
27+ uses : ask-bonk/ask-bonk/github@c3f6dd354ca1f14329e8ea298958c000f0bfef3e
28+ env :
29+ CLOUDFLARE_ACCOUNT_ID : ${{ secrets.CF_AI_GATEWAY_ACCOUNT_ID }}
30+ CLOUDFLARE_GATEWAY_ID : ${{ secrets.CF_AI_GATEWAY_NAME }}
31+ CLOUDFLARE_API_TOKEN : ${{ secrets.CF_AI_GATEWAY_TOKEN }}
32+ with :
33+ model : " cloudflare-ai-gateway/anthropic/claude-opus-4-8"
34+ variant : " high"
35+ mentions : " /bonk,@ask-bonk"
36+ forks : " false"
37+ permissions : write
38+ token_permissions : NO_PUSH
39+ agent : bonk
40+ opencode_version : 1.15.13 # pin to this version as certain ones cause ProviderInitError issues
You can’t perform that action at this time.
0 commit comments