Skip to content

Commit cc8bed5

Browse files
committed
fix pr search not considering the head branch
1 parent 2fdd18d commit cc8bed5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main.js

+1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ async function push() {
9494
}
9595
const pulls = await client.pulls.list({
9696
base,
97+
head: `${owner}:${head}`,
9798
owner,
9899
repo,
99100
state: "open",

0 commit comments

Comments
 (0)