Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit df7d681

Browse filesBrowse files
threads defaults to CODEQL_THREADS env var
1 parent c41b278 commit df7d681
Copy full SHA for df7d681

File tree

2 files changed

+2
-2
lines changed
Filter options

2 files changed

+2
-2
lines changed

‎init/action.yml

Copy file name to clipboardExpand all lines: init/action.yml
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ inputs:
115115
(which for GitHub-hosted runners is 2 for Linux and Windows and 3 for macOS).
116116
This input also sets the number of threads that can later be used by the "analyze" action.
117117
required: false
118+
default: "${{ env.CODEQL_THREADS }}"
118119
debug:
119120
description: >-
120121
Enable debugging mode.

‎src/init-action.ts

Copy file name to clipboardExpand all lines: src/init-action.ts
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,8 +547,7 @@ async function run() {
547547
);
548548
core.exportVariable(
549549
"CODEQL_THREADS",
550-
process.env["CODEQL_THREADS"] ||
551-
getThreadsFlagValue(getOptionalInput("threads"), logger).toString(),
550+
getThreadsFlagValue(getOptionalInput("threads"), logger).toString(),
552551
);
553552

554553
// Disable Kotlin extractor if feature flag set

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.