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:
parent
675843d09a
commit
74764ac0eb
1 changed files with 1 additions and 1 deletions
2
.github/workflows/post-release-mergeback.yml
vendored
2
.github/workflows/post-release-mergeback.yml
vendored
|
|
@ -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 ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue