Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add reviewers team to root OWNERS file #24988

Merged
merged 1 commit into from Oct 9, 2019
Merged

Conversation

rcebulko
Copy link
Contributor

@rcebulko rcebulko commented Oct 9, 2019

Defines the reviewer team for the repository. Will cause the owners bot to enforce that every PR must have approval from at least one member of the ampproject/reviewers-amphtml team.

Closes ampproject/amp-github-apps#522

Copy link
Contributor

@rsimha rsimha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay! Thanks for making this happen so quickly.

@mrjoro
Copy link
Member

mrjoro commented Oct 9, 2019

So the bot is basically looking for the team defined as "reviewerTeam" to determine which team must be included in the reviewers?

And just to double check--if the PR author is in the reviewer team they'll be able to merge with just OWNERS approval from someone else (even if that other person is not a reviewer)?

@rcebulko
Copy link
Contributor Author

rcebulko commented Oct 9, 2019

@mrjoro Yes; when the owners bot looks at PRs, it pretends the author implicitly gives an approving review. So, a PR authored by a reviewer, but approved by a non-reviewer, should pass. Note that it still relies on the GitHub setting to enforce that at least one reviewer approved the PR

@rcebulko rcebulko requested review from rsimha and removed request for rsimha October 9, 2019 17:13
@mrjoro mrjoro merged commit c683084 into ampproject:master Oct 9, 2019
@rcebulko rcebulko deleted the team branch October 9, 2019 20:29
micajuine-ho pushed a commit to micajuine-ho/amphtml that referenced this pull request Dec 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[owners] Support top-level owners file reviewerTeam property
4 participants