From 74764ac0eb4d1155e4b82af6b8293f0f57b4e45b Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Mon, 7 Jun 2021 13:32:46 -0700 Subject: [PATCH] Remove quotes around `$DRAFT` argument gh will complain if there is an empty `""`, which is the case if `$DRAFT` is unset. --- .github/workflows/post-release-mergeback.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/post-release-mergeback.yml b/.github/workflows/post-release-mergeback.yml index 6471735313..81c7bc103e 100644 --- a/.github/workflows/post-release-mergeback.yml +++ b/.github/workflows/post-release-mergeback.yml @@ -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 ""