mirror of
https://github.com/garrytan/gstack.git
synced 2026-10-31 22:14:25 +01:00
/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>
5 lines
120 B
TypeScript
Executable File
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)));
|