Skip to content

Commit cdefb33

Browse files
authored
Merge pull request #3394 from github/update-v4.31.10-0fa411efd
Merge main into releases/v4
2 parents 5d4e8d1 + cfa77c6 commit cdefb33

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+595576
-512558
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: Verify that the best-effort debug artifact scan completed
2+
description: Verifies that the best-effort debug artifact scan completed successfully during tests
3+
runs:
4+
using: node24
5+
main: index.js
6+
post: post.js
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// The main step is a no-op, since we can only verify artifact scan completion in the post step.
2+
console.log("Will verify artifact scan completion in the post step.");
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Post step - runs after the workflow completes, when artifact scan has finished
2+
const process = require("process");
3+
4+
const scanFinished = process.env.CODEQL_ACTION_ARTIFACT_SCAN_FINISHED;
5+
6+
if (scanFinished !== "true") {
7+
console.error("Error: Best-effort artifact scan did not complete. Expected CODEQL_ACTION_ARTIFACT_SCAN_FINISHED=true");
8+
process.exit(1);
9+
}
10+
11+
console.log("✓ Best-effort artifact scan completed successfully");

.github/workflows/__global-proxy.yml

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

.github/workflows/__rubocop-multi-language.yml

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

.github/workflows/codescanning-config-cli.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ env:
66
# Diff informed queries add an additional query filter which is not yet
77
# taken into account by these tests.
88
CODEQL_ACTION_DIFF_INFORMED_QUERIES: false
9+
# Specify overlay enablement manually to ensure stability around the exclude-from-incremental
10+
# query filter. Here we only enable for the default code scanning suite.
11+
CODEQL_ACTION_OVERLAY_ANALYSIS: true
12+
CODEQL_ACTION_OVERLAY_ANALYSIS_JAVASCRIPT: false
13+
CODEQL_ACTION_OVERLAY_ANALYSIS_CODE_SCANNING_JAVASCRIPT: true
914

1015
on:
1116
push:

.github/workflows/debug-artifacts-failure-safe.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ jobs:
5858
uses: actions/setup-dotnet@v5
5959
with:
6060
dotnet-version: '9.x'
61+
- name: Assert best-effort artifact scan completed
62+
uses: ./../action/.github/actions/verify-debug-artifact-scan-completed
6163
- uses: ./../action/init
6264
with:
6365
tools: ${{ steps.prepare-test.outputs.tools-url }}

.github/workflows/debug-artifacts-safe.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ jobs:
5454
uses: actions/setup-dotnet@v5
5555
with:
5656
dotnet-version: '9.x'
57+
- name: Assert best-effort artifact scan completed
58+
uses: ./../action/.github/actions/verify-debug-artifact-scan-completed
5759
- uses: ./../action/init
5860
id: init
5961
with:

.github/workflows/post-release-mergeback.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -131,16 +131,6 @@ jobs:
131131
cat $PARTIAL_CHANGELOG
132132
echo "::endgroup::"
133133
134-
- name: Create mergeback branch and PR
135-
if: ${{ steps.check.outputs.exists != 'true' && endsWith(github.ref_name, steps.getVersion.outputs.latest_release_branch) }}
136-
uses: ./.github/actions/prepare-mergeback-branch
137-
with:
138-
base: "${{ env.BASE_BRANCH }}"
139-
head: "${{ env.HEAD_BRANCH }}"
140-
branch: "${{ steps.getVersion.outputs.newBranch }}"
141-
version: "${{ steps.getVersion.outputs.version }}"
142-
token: "${{ secrets.GITHUB_TOKEN }}"
143-
144134
- name: Generate token
145135
uses: actions/[email protected]
146136
id: app-token
@@ -161,3 +151,13 @@ jobs:
161151
--latest=false \
162152
--title "$VERSION" \
163153
--notes-file "$PARTIAL_CHANGELOG"
154+
155+
- name: Create mergeback branch and PR
156+
if: ${{ endsWith(github.ref_name, steps.getVersion.outputs.latest_release_branch) }}
157+
uses: ./.github/actions/prepare-mergeback-branch
158+
with:
159+
base: "${{ env.BASE_BRANCH }}"
160+
head: "${{ env.HEAD_BRANCH }}"
161+
branch: "${{ steps.getVersion.outputs.newBranch }}"
162+
version: "${{ steps.getVersion.outputs.version }}"
163+
token: "${{ secrets.GITHUB_TOKEN }}"

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs.
44

5+
## 4.31.10 - 12 Jan 2026
6+
7+
- Update default CodeQL bundle version to 2.23.9. [#3393](https://github.com/github/codeql-action/pull/3393)
8+
59
## 4.31.9 - 16 Dec 2025
610

711
No user facing changes.

0 commit comments

Comments
 (0)