gate job
A small job that needs every other important job, so branch protection can require its one stable name.
In more detail
It does no work of its own except succeed when everything it needs succeeded. Because matrix job names change whenever a value is added or dropped, requiring a gate job keeps the required check stable.
Related terms
- required status check — A check, such as a CI job, that must pass on a pull request before branch protection allows it to merge.
- needs — The job key that makes a job wait until the jobs it names have finished successfully.
- strategy matrix — A job setting that expands one job description into one job for every combination of the listed values.
Taught in
- Scaling with Matrix Builds — Continuous Integration & Continuous Delivery Pipelines
- Environment Protection and Manual Approvals — Continuous Integration & Continuous Delivery Pipelines