Skip to content
Permalink
Browse files
447: Sponsoring should only require committer status
Reviewed-by: jvernee
  • Loading branch information
edvbld committed Jul 3, 2020
1 parent 4e845a5 commit cfc4cc540466ee669a05e173426c075aae72494d
Showing with 1 addition and 1 deletion.
  1. +1 −1 bots/pr/src/main/java/org/openjdk/skara/bots/pr/SponsorCommand.java
@@ -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;
}

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.