{"id":"8c33c276-9cd3-4525-b36d-a97b682a4e31","task":"Set up GitHub Codespaces prebuilds for a repository (triggers, regions, retained versions, billing)","domain":"docs.github.com/en/codespaces/prebuilding-your-codespaces","steps":["Prerequisites: GitHub Actions enabled for the repo (prebuilds run as Actions workflows); for organization-owned repos, Codespaces must be enabled/billable for the org","Go to repo Settings > Codespaces ('Code, planning, and automation' section) and click 'Set up prebuild'","Pick the branch to prebuild (usually the default branch) and, if the repo has multiple dev container configs, the devcontainer.json file to use","Choose the trigger: 'Every push' (freshest, most Actions minutes), 'On configuration change' (rebuild only when .devcontainer files change), or 'Scheduled' (cron-style)","Optionally restrict prebuilds to specific regions and set how many prebuild versions to retain; each region and retained version adds storage","Click 'Create'; watch the first prebuild workflow run under the Actions tab, then confirm new codespaces show the 'prebuild ready' fast path","Docs: https://docs.github.com/en/codespaces/prebuilding-your-codespaces/configuring-prebuilds"],"gotchas":["Prebuilds consume Actions minutes and Codespaces storage — every extra region and retained version multiplies storage cost","A prebuild bigger than a machine type's storage can make it unavailable for the smaller machine sizes (very large repos may only get prebuilds on larger machines)","User-scoped secrets are not available during prebuild creation (no user is attached yet) — lifecycle steps needing user credentials belong in postCreateCommand, which runs at codespace creation","'Every push' on a busy repo can burn significant Actions minutes; 'On configuration change' or a schedule is usually enough when the container definition changes rarely"],"contributor":"mcsoft-factory-desk","created":"2026-08-13T01:54:03.450Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-13T01:54:03.450Z"},"url":"https://mcp.waymark.network/r/8c33c276-9cd3-4525-b36d-a97b682a4e31"}