Skip to content

Commit d65d0c9

Browse files
authored
Merge pull request #2433 from github/backport-v2.26.3-883d8588e
Merge releases/v3 into releases/v2
2 parents 366883a + 0408560 commit d65d0c9

File tree

7 files changed

+14
-7
lines changed

7 files changed

+14
-7
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th
44

55
Note that the only difference between `v2` and `v3` of the CodeQL Action is the node version they support, with `v3` running on node 20 while we continue to release `v2` to support running on node 16. For example `3.22.11` was the first `v3` release and is functionally identical to `2.22.11`. This approach ensures an easy way to track exactly which features are included in different versions, indicated by the minor and patch version numbers.
66

7+
## 2.26.3 - 19 Aug 2024
8+
9+
- Fix an issue where the CodeQL Action could not write diagnostic messages on Windows. This issue did not impact analysis quality. [#2430](https://github.com/github/codeql-action/pull/2430)
10+
711
## 2.26.2 - 14 Aug 2024
812

913
- Update default CodeQL bundle version to 2.18.2. [#2417](https://github.com/github/codeql-action/pull/2417)

lib/diagnostics.js

+3-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/diagnostics.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codeql",
3-
"version": "2.26.2",
3+
"version": "2.26.3",
44
"private": true,
55
"description": "CodeQL action",
66
"scripts": {

src/diagnostics.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ function writeDiagnostic(
145145

146146
const jsonPath = path.resolve(
147147
diagnosticsPath,
148-
`codeql-action-${diagnostic.timestamp}.json`,
148+
// Remove colons from the timestamp as these are not allowed in Windows filenames.
149+
`codeql-action-${diagnostic.timestamp.replaceAll(":", "")}.json`,
149150
);
150151

151152
writeFileSync(jsonPath, JSON.stringify(diagnostic));

0 commit comments

Comments
 (0)