Skip to content

Commit

Permalink
[FIXED JENKINS-33256] Reënabling PRs on public repos.
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Mar 7, 2016
1 parent 8784214 commit 3e23edf
Showing 1 changed file with 0 additions and 4 deletions.
Expand Up @@ -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)) {
Expand Down Expand Up @@ -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");
}

}

Expand Down

0 comments on commit 3e23edf

Please sign in to comment.