mirror of
https://github.com/github/codeql-action.git
synced 2026-11-10 14:56:01 +00:00
Prefer == true over != false
This commit is contained in:
2
.github/actions/post-comment/action.yml
vendored
2
.github/actions/post-comment/action.yml
vendored
@@ -29,7 +29,7 @@ runs:
|
||||
env:
|
||||
BODY: ${{ inputs.body }}
|
||||
MARKER: ${{ inputs.marker }}
|
||||
CREATE_IF_MISSING: ${{ inputs.create-if-missing != 'false' && '--create-if-missing' || '' }}
|
||||
CREATE_IF_MISSING: ${{ inputs.create-if-missing == 'true' && '--create-if-missing' || '' }}
|
||||
GH_TOKEN: ${{ inputs.token }}
|
||||
ISSUE_ID: ${{ inputs.issue-id || github.event.pull_request.number }}
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user