FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Remove quotes around `$DRAFT` argument by aeisenberg · Pull Request #553 · github/codeql-action · GitHub

Remove quotes around $DRAFT argument - #553

Merged
aeisenberg merged 1 commit into
v1from
aeisenberg/no-quotes
Jun 7, 2021
Merged

aeisenberg merged 1 commit into
v1from
aeisenberg/no-quotes

Conversation

Copy link
Copy Markdown
Contributor

gh will complain if there is an empty "", which is the case if
$DRAFT is unset.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

aeisenberg requested a review from adityasharad June 7, 2021 20:36
--title "$PR_TITLE" \
--body "$PR_BODY" \
"$DRAFT"
$DRAFT # no quotes around $DRAFT. gh will error out if there is an empty ""

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Alternatively: ${DRAFT:+"$DRAFT"}

gh will complain if there is an empty `""`, which is the case if
`$DRAFT` is unset.
aeisenberg force-pushed the aeisenberg/no-quotes branch from 906165e to 74764ac Compare June 7, 2021 20:53
aeisenberg enabled auto-merge June 7, 2021 20:54
aeisenberg merged commit ece2add into v1 Jun 7, 2021
aeisenberg deleted the aeisenberg/no-quotes branch June 7, 2021 20:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL