Skip to content

ci: aggregate every job into a single Merge Gate check - #57

Merged
JacobPEvans-personal merged 1 commit into
mainfrom
ci/merge-gate
Aug 1, 2026
Merged

ci: aggregate every job into a single Merge Gate check#57
JacobPEvans-personal merged 1 commit into
mainfrom
ci/merge-gate

Conversation

@JacobPEvans-personal

Copy link
Copy Markdown
Contributor

What

  • Add one aggregator job, Merge Gate, that collects the result of every other CI job via re-actors/alls-green.
  • Conditional jobs (pull-request-only, or paths-filtered) are allowed to skip. The always-on unit job must actually succeed.

Why

required_status_checks matches a context string exactly, so today every new job needs its own branch-protection edit, and a required check that never reports blocks every pull request in the repo. A single stable gate removes that coupling — jobs can be added or renamed freely and protection never changes.

The name Merge Gate is the org convention (dryvist/.github_ci-gate.yml). This repo uses the inline form because its Splunk container job has no toggle in the shared gate.

Follow-up for the maintainer

After this merges, set branch protection on main to require Merge Gate (replacing python / Gate). Keep CodeQL — it comes from code-scanning default setup, which is a separate workflow this gate cannot aggregate.

Proof

Merge Gate needs all 5 sibling jobs (verified programmatically against the parsed YAML); python is the only one required to succeed rather than merely not-fail.

Branch protection matches a status-check context string exactly, so every new
job otherwise needs its own protection edit and a job that never reports
blocks all pull requests. One aggregator job named "Merge Gate" — the dryvist
org convention — collects the results of every other job instead.

Conditional jobs (pull-request-only or paths-filtered) are allowed to skip;
the always-on unit job must actually succeed.

Assisted-by: Claude:claude-fable-5
Claude-Session: https://claude.ai/code/session_0117oTjSHHjg1nh28LGRZ7My
@JacobPEvans-personal
JacobPEvans-personal merged commit 76d127a into main Aug 1, 2026
10 checks passed
@JacobPEvans-personal
JacobPEvans-personal deleted the ci/merge-gate branch August 1, 2026 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant