Brad Bishop | 1084edf | 2022-11-07 19:03:01 -0500 | [diff] [blame] | 1 | submit_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]. |