Skip to content

Commit

Permalink
chore: filter node prs by base branch
Browse files Browse the repository at this point in the history
This is a fix to allow multiple Node PRs to be open.
Previously the script would attempt to edit an existing PR but
PRs to different branches were getting incorrectly edited.
  • Loading branch information
lukekarrys committed Oct 3, 2023
1 parent 57a8957 commit 83bcb1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/create-node-pr.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ const main = async (spec, branch = 'main', opts) => withTempDir(CWD, async (tmpD
const npmPrs = await gh.json(
...nodePrArgs, 'list',
'-S', `in:title "${npmMessage('')}"`,
'--base', nodeBranch,
'number,title,url'
)

Expand Down

0 comments on commit 83bcb1c

Please sign in to comment.