flagon-io/g1t

public

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

g1t/services/webhooks/wrangler.jsonc

33 lines1,191 bytesCodeBlame

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

Webhooks: every event, to your own addresses, signed and retried1{
2 "$schema": "../../node_modules/wrangler/config-schema.json",
3 "name": "g1t-webhooks",
4 "account_id": "1e6f2cffa3f445920836e8ebe446bb58",
5 "compatibility_date": "2026-09-26",
Fast pages, required checks on the branch, self-hosted runners, honest incidents6 "placement": { "mode": "off" },
Webhooks: every event, to your own addresses, signed and retried7 "main": "build/index.js",
Deploys as code: a manifest of every Worker, a deploy tool that ships only what changed in parallel stages, and a g1t Actions workflow8 "build": { "command": "node ../../scripts/build-rust-worker.mjs" },
Webhooks: every event, to your own addresses, signed and retried9 // Reached only through service bindings; it reaches out to the
10 // addresses webhooks are registered at.
11 "workers_dev": false,
12 "d1_databases": [
13 {
14 "binding": "DB",
15 "database_name": "g1t-webhooks",
16 "database_id": "7da97a7e-b4a7-40e3-a129-3b78d654e9bb",
17 "migrations_dir": "migrations"
18 }
19 ],
20 "services": [
21 { "binding": "REPOS", "service": "g1t-repos" },
22 { "binding": "IDENTITY", "service": "g1t-identity" }
23 ],
24 // Every event on the bus, to deliver to the webhooks that want it.
25 "queues": {
26 "consumers": [{ "queue": "g1t-events-webhooks", "max_batch_size": 20, "max_batch_timeout": 1 }]
27 },
28 // Retries that are due, and deliveries old enough to forget.
29 "triggers": { "crons": ["* * * * *"] },
30 // Secret: WEBHOOKS_KEY, 64 hex characters. Webhooks' signing secrets are
31 // sealed with it; without it none can be made.
32 "observability": { "enabled": true }
33}