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
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+
9+ permissions :
10+ contents : read
11+
12+ env :
13+ NODE_VERSION : " 22.14.0"
14+
15+ jobs :
16+ lint :
17+ name : Lint
18+ runs-on : ubuntu-latest
19+ steps :
20+ - name : Check out repository
21+ uses : actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
22+ with :
23+ persist-credentials : false
24+
25+ - name : Set up Node.js
26+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
27+ with :
28+ node-version : ${{ env.NODE_VERSION }}
29+
30+ - name : Enable Corepack
31+ run : corepack enable
32+
33+ - name : Install dependencies
34+ run : pnpm install --frozen-lockfile
35+
36+ - name : Lint
37+ run : pnpm lint
38+
39+ test :
40+ name : Build and test
41+ runs-on : ubuntu-latest
42+ steps :
43+ - name : Check out repository
44+ uses : actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
45+ with :
46+ persist-credentials : false
47+
48+ - name : Set up Node.js
49+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
50+ with :
51+ node-version : ${{ env.NODE_VERSION }}
52+
53+ - name : Enable Corepack
54+ run : corepack enable
55+
56+ - name : Install dependencies
57+ run : pnpm install --frozen-lockfile
58+
59+ - name : Build
60+ run : pnpm build
61+
62+ - name : Test
63+ run : pnpm test
Original file line number Diff line number Diff line change 1+ name : " CLA Assistant"
2+ on :
3+ issue_comment :
4+ types : [created]
5+ pull_request_target :
6+ types : [opened,synchronize]
7+ merge_group :
8+
9+ permissions :
10+ actions : write
11+ contents : write # to store signatures on cla-signatures branch
12+ pull-requests : write
13+ statuses : write
14+
15+ jobs :
16+ CLAssistant :
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : " CLA Assistant"
20+ if : (github.event.issue.pull_request && (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA')) || github.event_name == 'pull_request_target'
21+ uses : contributor-assistant/github-action@v2.6.1
22+ env :
23+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
24+ with :
25+ path-to-signatures : ' signatures/version1/cla.json'
26+ path-to-document : ' https://www.cloudflare.com/cla/'
27+ # branch should not be protected
28+ branch : ' cla-signatures'
29+ allowlist : dependabot[bot],workers-devprod,github-actions[bot]
30+ lock-pullrequest-aftermerge : false
Original file line number Diff line number Diff line change 11{
2- "name" : " gadgets " ,
2+ "name" : " cloudflare-os " ,
33 "version" : " 1.0.0" ,
44 "private" : true ,
55 "type" : " module" ,
6+ "packageManager" : " pnpm@11.17.0+sha512.cca3cea332ad254bb84145f966d19f4879615210346fc92c79a047f23a0d7b3cca3c3792f0076ba1f1831d277efbcf0a9119b31a9a60eca7fb3d6231f331ef72" ,
67 "scripts" : {
78 "build" : " pnpm run --recursive build" ,
89 "run-local" : " node scripts/run-local.mjs" ,
You can’t perform that action at this time.
0 commit comments