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/actions/wrangler.jsonc

38 lines1,545 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.

GitHub Actions on g1t, part two: running workflows1{
2 "$schema": "../../node_modules/wrangler/config-schema.json",
3 "name": "g1t-actions",
4 "account_id": "1e6f2cffa3f445920836e8ebe446bb58",
5 "compatibility_date": "2026-09-26",
6 // Runs next to its database: moving a run along makes many queries in turn.
7 "placement": { "mode": "smart" },
8 "main": "build/index.js",
9 "build": { "command": "cargo install -q worker-build@0.8.7 && worker-build --release" },
10 // Reached only through service bindings.
11 "workers_dev": false,
12 "d1_databases": [
13 {
14 "binding": "DB",
15 "database_name": "g1t-actions",
16 "database_id": "95ccaa88-8e15-4b90-81e2-0d02d8ce869d",
17 "migrations_dir": "migrations"
18 }
19 ],
20 // ACTIONS_KEY (secret): seals secrets at rest. Never regenerate it:
21 // secrets saved under the old key could no longer be opened.
22 "services": [
23 { "binding": "REPOS", "service": "g1t-repos" },
24 { "binding": "WORK", "service": "g1t-work" },
25 { "binding": "IDENTITY", "service": "g1t-identity" },
Actions: workflow_run, workflow.completed, artifacts on the run page, Node 2426 { "binding": "RUNNER", "service": "g1t-runner" },
Projects: what a workspace builds and runs, first on every page27 { "binding": "EVENTS", "service": "g1t-events" },
28 // A repository's secrets and variables belong to its project.
29 { "binding": "PROJECTS", "service": "g1t-projects" }
GitHub Actions on g1t, part two: running workflows30 ],
31 // Every event on the bus: what starts workflows, and pushes that change them.
32 "queues": {
33 "consumers": [{ "queue": "g1t-events-actions", "max_batch_size": 10, "max_batch_timeout": 1, "max_retries": 3 }]
34 },
35 // Schedules, jobs waiting for room, and jobs whose runner went quiet.
36 "triggers": { "crons": ["* * * * *"] },
37 "observability": { "enabled": true }
38}