Skip to content

Commit

Permalink
Remove quotes around $DRAFT argument
Browse files Browse the repository at this point in the history
gh will complain if there is an empty `""`, which is the case if
`$DRAFT` is unset.
  • Loading branch information
aeisenberg committed Jun 7, 2021
1 parent 675843d commit 74764ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/post-release-mergeback.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""

0 comments on commit 74764ac

Please # to comment.