Repository navigation
v0.2.23
-
A branch pattern overrides the push's demands and the gates.
branch_overrides:changes three things on the branches that a pattern matches: the fields ofpush_review:, which gates run (only_gates:), and any field of a gate, by its name (gates:). A project can now push to feature branches with only the cheap gates and still confront every gate where the work lands. Which override applies depends on the branch being confronted:- The check takes the override of
$ANCHORS_BRANCH. In CI it takes the override of a pull request's base, so a pull request is confronted by the branch it lands on and never by its head. Otherwise it uses the branch pushed, or the branch checked out. The report says which override it took and how many of the declared gates run. - The pre-push hook confronts each ref by its destination branch.
Some combinations are refused. A pattern that matches a protected branch is refused when the configuration loads, and a branch that two patterns match is refused when it is confronted. A gate that an override makes non-blocking without giving a
severitydrops the severity it declared. The declared configuration stays as it is for the docs, the map and the catalog. (BROVB-B01, BROVB-B02, BROVB-E01, BROVB-E02, CGPCH-B103, PRCMS-B10) - The check takes the override of