Skip to content
Permalink
Browse files
[JENKINS-40652] Late fix
  • Loading branch information
stephenc committed Jan 27, 2017
1 parent 9fcb6d3 commit bb18410cff11efd7b21ccf4c55dfb6719bb61c12
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java
@@ -985,7 +985,7 @@ public SCMRevision getTrustedRevision(SCMRevision revision, TaskListener listene
throws IOException, InterruptedException {
if (revision instanceof PullRequestSCMRevision) {
PullRequestSCMHead head = (PullRequestSCMHead) revision.getHead();
if (repoOwner.equals(head.getSourceRepo()) && repository.equals(head.getSourceRepo())) {
if (repoOwner.equals(head.getSourceOwner())) {
// origin PR
return revision;
}

0 comments on commit bb18410

Please sign in to comment.