Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 492d783

Browse files
authored
Merge branch 'main' into henrymercer/skip-validating-codeql-sarif
2 parents bacf5fe + 83bdf3b commit 492d783

9 files changed

+19
-15
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th
55
## [UNRELEASED]
66

77
- Skip validating SARIF produced by CodeQL for improved performance. [#2894](https://github.com/github/codeql-action/pull/2894)
8+
- The number of threads and amount of RAM used by CodeQL can now be set via the `CODEQL_THREADS` and `CODEQL_RAM` runner environment variables. If set, these environment variables override the `threads` and `ram` inputs respectively. [#2891](https://github.com/github/codeql-action/pull/2891)
89

910
## 3.28.17 - 02 May 2025
1011

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,11 @@ We typically release new minor versions of the CodeQL Action and Bundle when a n
7070

7171
| Minimum CodeQL Action | Minimum CodeQL Bundle Version | GitHub Environment | Notes |
7272
|-----------------------|-------------------------------|--------------------|-------|
73-
| `v3.26.6` | `2.18.4` | Enterprise Server 3.15 | |
74-
| `v3.25.11` | `2.17.6` | Enterprise Server 3.14 | |
75-
| `v3.24.11` | `2.16.6` | Enterprise Server 3.13 | |
76-
| `v3.22.12` | `2.15.5` | Enterprise Server 3.12 | |
73+
| `v3.28.12` | `2.20.7` | Enterprise Server 3.17 | |
74+
| `v3.28.6` | `2.20.3` | Enterprise Server 3.16 | |
75+
| `v3.28.6` | `2.20.3` | Enterprise Server 3.15 | |
76+
| `v3.28.6` | `2.20.3` | Enterprise Server 3.14 | |
77+
| `v3.28.6` | `2.20.3` | Enterprise Server 3.13 | |
7778

7879
See the full list of GHES release and deprecation dates at [GitHub Enterprise Server releases](https://docs.github.com/en/enterprise-server/admin/all-releases#releases-of-github-enterprise-server).
7980

lib/api-compatibility.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "maximumVersion": "3.17", "minimumVersion": "3.12" }
1+
{ "maximumVersion": "3.17", "minimumVersion": "3.13" }

lib/codeql.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/init-action.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/init-action.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/api-compatibility.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"maximumVersion": "3.17", "minimumVersion": "3.12"}
1+
{"maximumVersion": "3.17", "minimumVersion": "3.13"}

src/codeql.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,17 +285,17 @@ const CODEQL_MINIMUM_VERSION = "2.15.5";
285285
/**
286286
* This version will shortly become the oldest version of CodeQL that the Action will run with.
287287
*/
288-
const CODEQL_NEXT_MINIMUM_VERSION = "2.15.5";
288+
const CODEQL_NEXT_MINIMUM_VERSION = "2.16.6";
289289

290290
/**
291291
* This is the version of GHES that was most recently deprecated.
292292
*/
293-
const GHES_VERSION_MOST_RECENTLY_DEPRECATED = "3.11";
293+
const GHES_VERSION_MOST_RECENTLY_DEPRECATED = "3.12";
294294

295295
/**
296296
* This is the deprecation date for the version of GHES that was most recently deprecated.
297297
*/
298-
const GHES_MOST_RECENT_DEPRECATION_DATE = "2024-12-19";
298+
const GHES_MOST_RECENT_DEPRECATION_DATE = "2025-04-03";
299299

300300
/** The CLI verbosity level to use for extraction in debug mode. */
301301
const EXTRACTION_DEBUG_MODE_VERBOSITY = "progress++";

src/init-action.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,8 @@ async function run() {
547547
);
548548
core.exportVariable(
549549
"CODEQL_THREADS",
550-
getThreadsFlagValue(getOptionalInput("threads"), logger).toString(),
550+
process.env["CODEQL_THREADS"] ||
551+
getThreadsFlagValue(getOptionalInput("threads"), logger).toString(),
551552
);
552553

553554
// Disable Kotlin extractor if feature flag set

0 commit comments

Comments
 (0)