trails/.github/workflows
Ullrich Schäfer 3db78a4a48
ci(staging): make PR previews opt-in (label or body marker)
PR previews were built + deployed for every apps/packages PR — each one a
journal container + its own database on the flagship, which is a standing
contributor to the disk pressure behind recurring deploy failures and the
2026-07-14 disk-full outage.

Make them opt-in: a preview is built/deployed only when the PR carries the
`preview` label OR a `<!-- preview -->` marker in its description. Gate the
(costly) build-images job, deploy-preview, and — via new labeled/unlabeled
triggers — tear the preview down when the label is pulled, so a de-flagged
PR can't orphan its stack. Main-push / dispatch deploys are unchanged.

Note: the pull_request `paths` filter still applies, so labeling a PR that
touches no apps/packages files won't spin up a preview (nothing to preview).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-14 08:37:50 +02:00
..
cd-apps.yml build(deps): bump actions/checkout from 6 to 7 2026-06-21 08:22:41 +00:00
cd-brouter.yml poi-index: ship poi-extract/ to the BRouter host via cd-brouter tarball 2026-07-12 23:12:55 +02:00
cd-infra.yml poi-index: extract pipeline (BRouter host) + import job (flagship) + e2e 2026-07-12 22:48:32 +02:00
cd-staging.yml ci(staging): make PR previews opt-in (label or body marker) 2026-07-14 08:37:50 +02:00
ci.yml build(deps): bump actions/cache from 5 to 6 2026-07-13 08:44:37 +02:00
dependabot-auto-fix.yml ci: rename workflow file to match its name (dependabot-auto-fix.yml) 2026-07-13 21:10:37 +02:00
disk-maintenance.yml ci: scheduled image prune + staging-deploy disk hygiene 2026-06-07 09:52:49 +02:00
staging-cleanup.yml Fix concurrent preview deploy race: per-PR env files + server flock 2026-05-10 13:03:52 +02:00
update-visual-snapshots.yml build(deps): bump actions/checkout from 6 to 7 2026-06-21 08:22:41 +00:00