Skip to content

Commit c7203c9

Browse files
committed
Fix conditional in PR checks
1 parent 7f1659f commit c7203c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/pr-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ jobs:
357357
#
358358
# If we're running on push, then we can skip running with `tools: latest` when it would be
359359
# the same as running with `tools: null`.
360-
if [[ "$GITHUB_EVENT_NAME" == "pull_request" && "$CODEQL_VERSION_DEFAULT" == "$CODEQL_VERSION_LATEST" ]]; then
360+
if [[ "$GITHUB_EVENT_NAME" != "pull_request" && "$CODEQL_VERSION_DEFAULT" == "$CODEQL_VERSION_LATEST" ]]; then
361361
VERSIONS_JSON="[null, \"$NIGHTLY_URL\"]"
362362
else
363363
VERSIONS_JSON="[null, \"$NIGHTLY_URL\", \"latest\"]"

0 commit comments

Comments
 (0)