Skip to content

Commit 6095dc4

Browse files
committed
Merge branch 'main' into henrymercer/compute-job-status-if-no-config
2 parents b333fc6 + 34cae51 commit 6095dc4

30 files changed

+52540
-43658
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ updates:
88
- Rebuild
99
# Ignore incompatible dependency updates
1010
ignore:
11-
# There is a type incompatibility issue between v0.0.9 and our other dependencies.
12-
- dependency-name: "@octokit/plugin-retry"
13-
versions: ["~6.0.0"]
14-
# This is broken due to the way configuration files have changed.
11+
# This is broken due to the way configuration files have changed.
1512
# This might be fixed when we move to eslint v9.
1613
- dependency-name: "eslint-plugin-import"
1714
versions: [">=2.30.0"]

.github/workflows/__build-mode-autobuild.yml

Lines changed: 8 additions & 5 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/update-bundle.yml

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,24 @@ jobs:
5757
- name: Update bundle
5858
uses: ./.github/actions/update-bundle
5959

60+
- name: Bump Action minor version if new CodeQL minor version series
61+
id: bump-action-version
62+
run: |
63+
prior_cli_version=$(jq -r '.priorCliVersion' src/defaults.json)
64+
cli_version=$(jq -r '.cliVersion' src/defaults.json)
65+
66+
prior_minor=$(echo "$prior_cli_version" | cut -d. -f2)
67+
current_minor=$(echo "$cli_version" | cut -d. -f2)
68+
69+
if [[ "$current_minor" != "$prior_minor" ]]; then
70+
echo "New CodeQL minor version series ($prior_cli_version -> $cli_version), bumping Action minor version"
71+
npm version minor --no-git-tag-version
72+
echo "bumped=true" >> "$GITHUB_OUTPUT"
73+
else
74+
echo "Same minor version series ($prior_cli_version -> $cli_version), skipping Action version bump"
75+
echo "bumped=false" >> "$GITHUB_OUTPUT"
76+
fi
77+
6078
- name: Rebuild Action
6179
run: npm run build
6280

@@ -71,11 +89,19 @@ jobs:
7189
- name: Open pull request
7290
env:
7391
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
92+
ACTION_VERSION_BUMPED: ${{ steps.bump-action-version.outputs.bumped }}
7493
run: |
7594
cli_version=$(jq -r '.cliVersion' src/defaults.json)
95+
action_version=$(jq -r '.version' package.json)
96+
97+
pr_body="This pull request updates the default CodeQL bundle, as used with \`tools: linked\` and on GHES, to $cli_version."
98+
if [[ "$ACTION_VERSION_BUMPED" == "true" ]]; then
99+
pr_body+=$'\n\n'"Since this is a new CodeQL minor version series, this PR also bumps the Action version to $action_version."
100+
fi
101+
76102
pr_url=$(gh pr create \
77103
--title "Update default bundle to $cli_version" \
78-
--body "This pull request updates the default CodeQL bundle, as used with \`tools: linked\` and on GHES, to $cli_version." \
104+
--body "$pr_body" \
79105
--assignee "$GITHUB_ACTOR" \
80106
--draft \
81107
)

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th
66

77
No user facing changes.
88

9+
## 4.32.0 - 26 Jan 2026
10+
11+
- Update default CodeQL bundle version to [2.24.0](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.24.0). [#3425](https://github.com/github/codeql-action/pull/3425)
12+
13+
## 4.31.11 - 23 Jan 2026
14+
15+
- When running a Default Setup workflow with [Actions debugging enabled](https://docs.github.com/en/actions/how-tos/monitor-workflows/enable-debug-logging), the CodeQL Action will now use more unique names when uploading logs from the Dependabot authentication proxy as workflow artifacts. This ensures that the artifact names do not clash between multiple jobs in a build matrix. [#3409](https://github.com/github/codeql-action/pull/3409)
16+
- Improved error handling throughout the CodeQL Action. [#3415](https://github.com/github/codeql-action/pull/3415)
17+
- Added experimental support for automatically excluding [generated files](https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github) from the analysis. This feature is not currently enabled for any analysis. In the future, it may be enabled by default for some GitHub-managed analyses. [#3318](https://github.com/github/codeql-action/pull/3318)
18+
- The changelog extracts that are included with releases of the CodeQL Action are now shorter to avoid duplicated information from appearing in Dependabot PRs. [#3403](https://github.com/github/codeql-action/pull/3403)
19+
920
## 4.31.10 - 12 Jan 2026
1021

1122
- Update default CodeQL bundle version to 2.23.9. [#3393](https://github.com/github/codeql-action/pull/3393)

0 commit comments

Comments
 (0)