Files
gstack/bin/gstack-ci-gate
T
garrytanandharshitgavita-07 bc8bec4df2 fix(land-and-deploy): never merge over red, pending or missing CI (#2995)
/land-and-deploy gated only on required checks, so a repo with none
(every GitHub Free private repo, any repo without branch protection)
skipped the CI wait and could merge over red CI. The verdict now comes
from bin/gstack-ci-gate, a tested helper bound to the head SHA: all
checks by default, cancel/unknown buckets fail, NO_CHECKS needs explicit
per-head approval, and both merge commands (including --auto) run only
after a PASS for the same SHA they pin with --match-head-commit.

Co-authored-by: harshitgavita-07 <harshit.gavita@gmail.com>
2026-10-02 14:32:50 +00:00

5 lines
120 B
TypeScript
Executable File

#!/usr/bin/env bun
import { ciGateMain } from '../lib/ci-gate';
process.exit(await ciGateMain(process.argv.slice(2)));