blob: afc6eeb2712775b02ef67835a47c010f938cdfcd [file] [log] [blame]
Brad Bishop1084edf2022-11-07 19:03:01 -05001submit_rule(S) :-
2 gerrit:default_submit(D),
3 D =.. [submit | Ds],
4 findall(U, gerrit:commit_label(label('Code-Review', 2), U), Approvers),
5 gerrit_owners:add_owner_approval(Approvers, Ds, A),
6 S =.. [submit | A].