-
-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Some things in prow are pretty straightforward to re-implement, but some is quite a bit of logic. A big feature that I'm interested in is determining which reviewers and approvers to select for a pull request when there can be multiple OWNERS files defined in a repository, and then ensuring that a PR isn't merged until approvers from all OWNERS files have given approval. So if a PR touches two directories, which have different approvers, both approvers would have to approve the PR before it is merged by our github action. (Correct me if I'm misunderstanding how prow works!)
The kuberentes/test-infra repository defines this logic and has functions that we could export, wrap and call from javascript. Alternatively we could port these functions to typescript.
Before I spent time doing any of that, I wanted to get a feel for what you would prefer? I'm down for implementing either solution.