Skip to content

Commit

Permalink
447: Sponsoring should only require committer status
Browse files Browse the repository at this point in the history
Reviewed-by: jvernee
  • Loading branch information
edvbld committed Jul 3, 2020
1 parent 4e845a5 commit cfc4cc5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -40,7 +40,7 @@ public void handle(PullRequestBot bot, PullRequest pr, CensusInstance censusInst
reply.println("This change does not need sponsoring - the author is allowed to integrate it.");
return;
}
if (!censusInstance.isReviewer(command.user())) {
if (!censusInstance.isCommitter(command.user())) {
reply.println("Only [Committers](https://openjdk.java.net/bylaws#committer) are allowed to sponsor changes.");
return;
}
Expand Down

1 comment on commit cfc4cc5

@bridgekeeper
Copy link

@bridgekeeper bridgekeeper bot commented on cfc4cc5 Jul 3, 2020

Choose a reason for hiding this comment

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

Please sign in to comment.