Remove quotes around $DRAFT argument

gh will complain if there is an empty `""`, which is the case if
`$DRAFT` is unset.
This commit is contained in:
Andrew Eisenberg 2021-06-07 13:32:46 -07:00
parent 675843d09a
commit 74764ac0eb

View file

@ -124,4 +124,4 @@ jobs:
--base "$BASE_BRANCH" \
--title "$PR_TITLE" \
--body "$PR_BODY" \
"$DRAFT"
${DRAFT:+"$DRAFT"} # no quotes around $DRAFT. gh will error out if there is an empty ""