skymoore / required-approvals

Github Action to check PR approvals and codeowners
7 stars 6 forks source link

[Feature Request] Optionally configure owner teams' approval #10

Closed natale-p closed 3 months ago

natale-p commented 5 months ago

Hello,

sometimes CODEOWNERS specify multiple teams owning a directory:

only-sparta/**         @Sparta
this-is-shared/**    @Sparta @Athens

However, there are situations in which one approval, given that is coming from one of the owning's teams, is enough. Logically, that would be an OR between the owners, instead of an AND. There is a way to configure this?

Thanks in advance

skymoore commented 4 months ago

Hi @natale-p! Thank you for the feature request. I will take a deeper look in the coming week as I'm presently on vacation.

AlvaroGG0 commented 3 months ago

This feature would be a nice to have!