Assign reviewers to merge requests with none.
The algorithm is intended to function as follows:
-
Gather all entries where the F: pattern matches at least one file changed in the MR. The wildcard pattern (THE REST) is skipped.
-
Build the union of the M: fields of all matched entries. If empty, build the union of the P: fields instead. Assign all members of the union as reviewers. If empty, do nothing.
We ignore people that are not found in MAINTAINERS.