open-swe/.github/workflows
Adam Moussa 430a1cdff9
ci: re-home prod promotion into a gated promote-to-main workflow (PR1: managed-LGC migration) (#63)
* ci: re-home prod promotion into a gated promote-to-main workflow

Migrate the prod-deploy gate to managed LangGraph Cloud (git-connected to
`main`) + Vercel. Under managed, a push to `main` auto-deploys prod, so the
dev -> main fast-forward IS the prod deploy trigger -- the bespoke AWS CD step
is obsolete and already gone from this workflow.

Re-home `promote-dev-to-prod.yml` -> `promote-to-main.yml`:
- gate the promote job on the `prod` GitHub Environment (required reviewer
  amoussa1229), restoring the manual prod-approval that the retired AWS CD job
  used to carry;
- drop the nightly auto-promote cron -- a scheduled auto-promotion conflicts
  with a manual approval gate now that the push deploys prod; promotion is
  workflow_dispatch only;
- keep the dev-HEAD-fully-green precondition and the seahaven-promotion App
  fast-forward push (sole non-admin bypass actor on `main` ruleset 18238334).

Update the companion check-dev-green.sh filename reference.

* ci: refuse promote-to-main dispatch from any ref other than dev

Defense-in-depth atop the already-pinned `ref: dev` checkout: workflow_dispatch
runs the workflow definition from the launched ref, so reject a non-dev dispatch
before the App token is minted. Surfaced by the GPT-4.1 cross-review of #63.
2026-06-29 19:49:21 -04:00
..
build-artifacts.yml ci: align workflows with Sea Haven CI/CD handbook (#29) 2026-06-27 21:47:25 -04:00
cd-infra.yml ci: align workflows with Sea Haven CI/CD handbook (#29) 2026-06-27 21:47:25 -04:00
ci-infra.yml ci: align workflows with Sea Haven CI/CD handbook (#29) 2026-06-27 21:47:25 -04:00
ci.yml chore(deps): bump astral-sh/setup-uv (#32) 2026-06-27 22:35:48 -04:00
dependency-review.yml ci: align workflows with Sea Haven CI/CD handbook (#29) 2026-06-27 21:47:25 -04:00
labeler.yml ci: align workflows with Sea Haven CI/CD handbook (#29) 2026-06-27 21:47:25 -04:00
pr_lint.yml chore(deps): bump python-dotenv from 1.2.1 to 1.2.2 (#1212) 2026-05-01 22:27:21 +00:00
promote-to-main.yml ci: re-home prod promotion into a gated promote-to-main workflow (PR1: managed-LGC migration) (#63) 2026-06-29 19:49:21 -04:00
reviewer-eval.yml chore(deps): bump astral-sh/setup-uv (#32) 2026-06-27 22:35:48 -04:00
rollback.yml ci: align workflows with Sea Haven CI/CD handbook (#29) 2026-06-27 21:47:25 -04:00