Skip to content

Commit

Permalink
Fix issue with head branch filtering preventing any 2nd PR to be crea…
Browse files Browse the repository at this point in the history
…ted whenever any other was already open
  • Loading branch information
bgandon committed Nov 1, 2023
1 parent 4ccc59e commit 0097bca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/github/submit-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ popd > /dev/null


open_pulls_url="https://api.github.com/repos/${GH_OWNER}/${GH_REPO}/pulls"
open_pulls_url+="?state=open&head=${GH_OWNER}/${branch_name}&base=${base_branch}"
open_pulls_url+="?state=open&head=${GH_OWNER}:${branch_name}&base=${base_branch}"

open_pulls_count=$(
curl --silent --fail --show-error --location \
Expand Down

0 comments on commit 0097bca

Please sign in to comment.