Skip to content

Commit

Permalink
filter workflow entries by pr base branch
Browse files Browse the repository at this point in the history
  • Loading branch information
erquhart committed Mar 28, 2018
1 parent 7df903c commit 600400c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backends/github/API.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ export default class API {
params: {
head: branchName,
state: 'open',
base: this.branch,
},
})
.then(prs => prs.some(pr => pr.head.ref === branchName));
Expand Down

0 comments on commit 600400c

Please sign in to comment.