pub fn gates(doc: &Value) -> Option<Gates>Expand description
The trail’s blocking gates as one Entire Gates check, the way the check
GitHub shows reads them: failed if any fails, pending while any has not
been evaluated, else passed. The approvals gate is left out, since it is
the review decision. None when the trail has no other blocking gate.