blob: 9f0918bd462e28af0adeb53e1084327e2293a682 [file] [log] [blame]
Brad Bishopea7c1b02022-11-08 19:32:31 -05001submit_filter(In,S) :-
2 In =.. [submit | Ds],
Brad Bishop1084edf2022-11-07 19:03:01 -05003 findall(U, gerrit:commit_label(label('Code-Review', 2), U), Approvers),
Brad Bishopfd9adcb2022-11-08 19:54:30 -05004 gerrit_owners:add_owner_approval(Approvers, Ds, A),
Brad Bishop1084edf2022-11-07 19:03:01 -05005 S =.. [submit | A].