Permalink
Browse files

[FIXED JENKINS-33256] Reënabling PRs on public repos.

  • Loading branch information...
jglick committed Mar 7, 2016
1 parent 8784214 commit 3e23edf68e0c87b857c4923dabe998167cc26150
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java
@@ -272,7 +272,6 @@ private void doRetrieve(SCMHeadObserver observer, TaskListener listener, GHRepos
}
listener.getLogger().format("%n %d branches were processed%n", branches);
if (repo.isPrivate()) {
listener.getLogger().format("%n Getting remote pull requests...%n");
int pullrequests = 0;
for (GHPullRequest ghPullRequest : repo.getPullRequests(GHIssueState.OPEN)) {
@@ -311,9 +310,6 @@ private void doRetrieve(SCMHeadObserver observer, TaskListener listener, GHRepos
pullrequests++;
}
listener.getLogger().format("%n %d pull requests were processed%n", pullrequests);
} else {
listener.getLogger().format("%n Skipping pull requests for public repositories%n");
}
}

0 comments on commit 3e23edf

Please sign in to comment.