blob: 31969a986d82db39080c1964e51c4534a5c341e0 [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 Bishop1f5b37c2022-11-08 19:52:45 -05004 gerrit_owners:add_match_approval(Approvers, Ds, A),
Brad Bishop1084edf2022-11-07 19:03:01 -05005 S =.. [submit | A].