filter workflow entries by pr base branch

This commit is contained in:
Shawn Erquhart 2018-03-05 10:45:12 -05:00
parent 7df903c714
commit 600400cfda

View File

@ -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));