mirror of
https://github.com/github/codeql-action
synced 2026-05-31 00:00:46 +03:00
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:
@@ -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 ""
|
||||
|
||||
Reference in New Issue
Block a user