Skip to main content

gate_defaults

Function gate_defaults 

Source
pub fn gate_defaults(profile: &ProfileSnapshot) -> Option<&'static str>
Expand description

The canonical required check, for the one shape that names one by default, or None for every other shape.

One shape takes it: GitHub, an automatic release, and the trunk style, under either integration. The merge job that rk release merge dispatches judges this check for the request’s head, and the trunk ruleset requires it. The name is this convention’s own: runbooks/setup.md writes the check job as gate.

It is a compiled default and nothing more. A flag, the committed configuration, and a compatible record each answer ahead of it, the resolved answer is written back and recorded, and rk setup check proves it against the target’s own workflow files. A project whose names differ states them and the default never applies.

Every other shape resolves to empty. GitLab judges the whole pipeline and names no check.