Skip to content

Commit 74764ac

Browse files
committed
Remove quotes around $DRAFT argument
gh will complain if there is an empty `""`, which is the case if `$DRAFT` is unset.
1 parent 675843d commit 74764ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/post-release-mergeback.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,4 @@ jobs:
124124
--base "$BASE_BRANCH" \
125125
--title "$PR_TITLE" \
126126
--body "$PR_BODY" \
127-
"$DRAFT"
127+
${DRAFT:+"$DRAFT"} # no quotes around $DRAFT. gh will error out if there is an empty ""

0 commit comments

Comments
 (0)