Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
4c96123
Add support for linux/arm64
redsun82 Aug 4, 2026
43ae5e7
Address review comments
redsun82 Aug 5, 2026
b4c390c
Merge remote-tracking branch 'origin/main' into redsun82-linux-arm64-…
redsun82 Aug 10, 2026
9875827
Bump @octokit/types from 16.0.0 to 17.0.0
dependabot[bot] Aug 13, 2026
93d793c
Use `json` module for JSON validation in `output-cache`
mario-campos Aug 14, 2026
cb9d39f
Export `getCommandCacheFilePath` function for use in tests
mario-campos Aug 14, 2026
d7d901a
Refactor tests to use `getCommandCacheFilePath`
mario-campos Aug 14, 2026
c8ba2d2
Refactor `isVersionInfo` with `json` module
mario-campos Aug 14, 2026
f3deecb
Refactor `OutputCache` with `json` module
mario-campos Aug 14, 2026
b60777a
Delete unnecessary statement from JSDoc comments
mario-campos Aug 14, 2026
1f46830
Fix `VersionInfo` derived type to pass linter
mario-campos Aug 14, 2026
b5d3438
Refactor tests in `output-cache.test.ts` to use named imports from `o…
mario-campos Aug 14, 2026
fcd8d74
Refactor output-caching functions to accept file path dependency
mario-campos Aug 14, 2026
97b7459
Merge remote-tracking branch 'origin/main' into redsun82-linux-arm64-…
redsun82 Aug 21, 2026
a952c07
Merge branch 'main' into redsun82-linux-arm64-support
redsun82 Aug 24, 2026
c05e445
Report tools download durations on both download paths
henrymercer Aug 24, 2026
bee82de
Add tools download durations to the init status report
henrymercer Aug 24, 2026
9d89e2d
Rebuild
henrymercer Aug 24, 2026
b5383aa
Merge remote-tracking branch 'origin/redsun82-linux-arm64-support' in…
redsun82 Aug 25, 2026
0f2e2bd
Update changelog and version after v4.37.9
github-actions[bot] Aug 26, 2026
f375656
Rebuild
github-actions[bot] Aug 26, 2026
42c2ea9
Document merge-commit requirement for release PRs
redsun82 Aug 26, 2026
3e93618
Merge pull request #4105 from github/henrymercer/tools-download-telem…
henrymercer Aug 26, 2026
4d40c93
Merge pull request #4108 from github/mergeback/v4.37.9-to-main-cdf488f5
henrymercer Aug 26, 2026
ec1bd19
Bump actions/setup-java from 5.7.0 to 6.0.0 in /.github/workflows
dependabot[bot] Aug 26, 2026
0006c77
Bump the npm-minor group across 1 directory with 2 updates
dependabot[bot] Aug 26, 2026
d75af13
Rebuild
github-actions[bot] Aug 26, 2026
dc5bc53
Rebuild
github-actions[bot] Aug 26, 2026
426c104
Create `changetool` script for validating change-notes
mario-campos Aug 25, 2026
580da89
Handle file errors as `false`
mario-campos Aug 27, 2026
5aea817
Replace `Array.prototype.every()` with `for` loop
mario-campos Aug 27, 2026
50ec5a5
Use `Object.hasOwn` instead of `in` operator
mario-campos Aug 27, 2026
0447ab2
Enhance changenote validation to support nested bullet lists
mario-campos Aug 27, 2026
be555cf
Extend scripts/changetool as a NPM workspace
mario-campos Aug 27, 2026
e2cd31e
Refactor tsconfig.json to extend base configuration and simplify options
mario-campos Aug 27, 2026
cacb7b3
Delete unused script/changetool NPM scripts
mario-campos Aug 27, 2026
6441b26
Merge remote-tracking branch 'origin/main' into redsun82-linux-arm64-…
redsun82 Aug 27, 2026
76ba03b
Merge branch 'main' into redsun82-release-merge-instructions
redsun82 Aug 27, 2026
7acc225
Merge pull request #4110 from github/redsun82-release-merge-instructions
redsun82 Aug 27, 2026
6d4d5df
Merge pull request #4089 from github/dependabot/npm_and_yarn/octokit/…
henrymercer Aug 27, 2026
4d1d53e
Bump @octokit/plugin-paginate-rest from 14.0.0 to 15.0.0
dependabot[bot] Aug 27, 2026
abc579a
Merge pull request #4112 from github/dependabot/npm_and_yarn/npm-mino…
henrymercer Aug 27, 2026
1a8ddd7
Rebuild
github-actions[bot] Aug 27, 2026
0963041
Merge pull request #4090 from github/dependabot/npm_and_yarn/octokit/…
henrymercer Aug 27, 2026
25694c0
Bump @octokit/plugin-rest-endpoint-methods from 17.0.0 to 18.0.0
dependabot[bot] Aug 27, 2026
f049ecb
Delete unused Node.js flag `--experimental-test-module-mocks`
mario-campos Aug 27, 2026
1bcdd0c
Derive the API client type from `@actions/github`
henrymercer Aug 27, 2026
6f53031
Merge pull request #4113 from github/mario-campos/add-changenote-script
mario-campos Aug 27, 2026
0250090
Address review comments
redsun82 Aug 28, 2026
50e2448
Update dependencies
mbg Sep 1, 2026
a0c7312
Merge pull request #4096 from github/mario-campos/use-json-module
mario-campos Sep 1, 2026
ccd5275
Merge branch 'main' into dependabot/github_actions/dot-github/workflo…
mbg Sep 2, 2026
276e2ce
Merge pull request #4117 from github/mbg/deps/1sep
mbg Sep 2, 2026
bb36f80
Bump browserslist from 4.24.2 to 4.28.8
dependabot[bot] Sep 2, 2026
da21771
Bump the npm-minor group across 1 directory with 2 updates
dependabot[bot] Sep 2, 2026
2a03009
Bump eslint-plugin-jsdoc from 62.9.0 to 64.2.1
dependabot[bot] Sep 2, 2026
b724a86
Rebuild
github-actions[bot] Sep 2, 2026
4cccb3a
Merge pull request #4072 from github/redsun82-linux-arm64-support
redsun82 Sep 3, 2026
20ec60c
Merge branch 'main' into dependabot/npm_and_yarn/eslint-plugin-jsdoc-…
mbg Sep 3, 2026
9509fd0
Merge pull request #4120 from github/dependabot/npm_and_yarn/eslint-p…
mbg Sep 3, 2026
25da1b1
Merge branch 'main' into dependabot/npm_and_yarn/npm-minor-21ac56865f
mbg Sep 3, 2026
3ee8a93
Merge branch 'main' into dependabot/npm_and_yarn/browserslist-4.28.8
mbg Sep 3, 2026
9401a33
Merge pull request #4118 from github/dependabot/npm_and_yarn/browsers…
mbg Sep 3, 2026
1024994
Merge pull request #4119 from github/dependabot/npm_and_yarn/npm-mino…
mbg Sep 3, 2026
5914b03
Merge pull request #4111 from github/dependabot/github_actions/dot-gi…
mbg Sep 3, 2026
2f3c1c9
Add an internal `job-status` input to the `init` Action
henrymercer Sep 3, 2026
38dd4a0
Don't record an overlay status when the job was cancelled
henrymercer Sep 3, 2026
36cbf13
Address review comments
redsun82 Sep 3, 2026
9fddc16
Merge pull request #4088 from github/dependabot/npm_and_yarn/octokit/…
henrymercer Sep 4, 2026
ceb85f2
Distinguish GitHub-hosted runners from ones that look hosted
henrymercer Sep 4, 2026
762a5ed
Add a helper to delete the CodeQL tools from the toolcache
henrymercer Sep 4, 2026
4a0b22e
Delete unused CodeQL bundles from the toolcache before downloading
henrymercer Sep 4, 2026
a7a90f3
Enable toolcache cleanup in the multi-language PR check
henrymercer Sep 4, 2026
2681b03
Add a changelog note
henrymercer Sep 4, 2026
1331773
Address Copilot review feedback
henrymercer Sep 4, 2026
e13c3dc
Only clean up a toolcache on the workspace filesystem
henrymercer Sep 4, 2026
16da747
Log found databases in Linux Arm64 check
redsun82 Sep 4, 2026
d2fe508
Don't upload the ESLint SARIF from merge queue refs
henrymercer Sep 4, 2026
657964c
Read the job status from a `ReadOnlyEnv` in `recordOverlayStatus`
henrymercer Sep 4, 2026
a48f2d3
Record an overlay status only for conclusive job statuses
henrymercer Sep 4, 2026
e06b60f
Merge pull request #4125 from github/henrymercer/merge-queue-sarif-up…
henrymercer Sep 4, 2026
46dfb14
Merge pull request #4123 from github/redsun82-address-pr-4072-comments
henrymercer Sep 4, 2026
31da345
Address review comments
henrymercer Sep 4, 2026
313a0b9
Merge pull request #4122 from github/henrymercer/friendly-potato
henrymercer Sep 4, 2026
034db72
Merge remote-tracking branch 'origin/main' into henrymercer/toolcache…
Copilot Sep 7, 2026
deece8f
Apply suggestion from @henrymercer
henrymercer Sep 7, 2026
40a6b38
Address toolcache cleanup review feedback
henrymercer Sep 8, 2026
977e6ce
Merge pull request #4124 from github/henrymercer/toolcache-bundle-cle…
henrymercer Sep 8, 2026
40484b3
Update default bundle to codeql-bundle-v2.27.0
github-actions[bot] Sep 9, 2026
0b7ca40
Add changelog note
github-actions[bot] Sep 9, 2026
8c251e7
Merge pull request #4129 from github/update-bundle/codeql-bundle-v2.27.0
henrymercer Sep 9, 2026
bfcc52b
Run slow macOS checks on larger runners
henrymercer Sep 9, 2026
7e08580
Merge pull request #4130 from github/henrymercer/workflow-runner-sizing
henrymercer Sep 9, 2026
02d5093
Update changelog for v4.38.0
github-actions[bot] Sep 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/instructions/release-merge.instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
applyTo: "CHANGELOG.md,src/defaults.json,lib/defaults.json,src/api-compatibility.json"
---

# Merging release, mergeback, and backport PRs

The release process creates a cascade of PRs (`main` → `releases/vN`, then
`releases/vN` → `main` mergeback, then `releases/vN` → `releases/v(N-1)`
backport). These PRs reliably touch `CHANGELOG.md`, `src/defaults.json` /
`lib/defaults.json` (bundle/CLI version bump), and `src/api-compatibility.json`.

Such PRs **must be merged with a merge commit**. Never squash or rebase, as
that breaks the branch linkage the release automation relies on.

When arming auto-merge on these PRs, use `--merge` (e.g. `gh pr merge --merge`),
not `--squash` or `--rebase`.
2 changes: 1 addition & 1 deletion .github/workflows/__all-platform-bundle.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/workflows/__build-mode-autobuild.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

106 changes: 106 additions & 0 deletions .github/workflows/__linux-arm64.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .github/workflows/__multi-language-autodetect.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .github/workflows/__swift-custom-build.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 33 additions & 1 deletion .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,43 @@ jobs:

- name: Upload sarif
uses: ./upload-sarif
if: matrix.os == 'ubuntu-latest' && matrix.node-version == 24
# The merge queue deletes its `gh-readonly-queue` ref as soon as the queue entry resolves,
# so uploading against it races with that deletion. Both the `merge_group` run and the
# paired `push` run that the queue branch creates use that ref, so gate on the ref itself
# rather than the event. The same results are uploaded by the `pull_request` run and again
# by the `push` run on `main`.
if: matrix.os == 'ubuntu-latest' && matrix.node-version == 24 && !startsWith(github.ref, 'refs/heads/gh-readonly-queue/')
with:
sarif_file: eslint.sarif
category: eslint

changetool-tests:
name: changetool unit tests
permissions:
contents: read
runs-on: ubuntu-slim
timeout-minutes: 10

concurrency:
cancel-in-progress: ${{ github.event_name == 'pull_request' || false }}
group: pr-checks-changetool-tests-${{ github.ref }}-${{ github.event_name }}

steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Set up Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 24
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Run changetool unit tests
run: npm --workspace changetool test

# These checks do not need to be run as part of the same matrix that we use for the `unit-tests`
# job.
other-checks:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

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

## 4.38.0 - 09 Sept 2026

- On GitHub-hosted runners, the CodeQL Action now deletes unused CodeQL bundles from the toolcache before downloading a different bundle, which frees up disk space for the analysis. We expect to roll this change out to everyone in September. [#4124](https://github.com/github/codeql-action/pull/4124)
- The CodeQL Action now supports CodeQL releases that are compatible with Linux Arm64 and downloads the native `linux-arm64` CodeQL bundle when available. [#4072](https://github.com/github/codeql-action/pull/4072)
- Update default CodeQL bundle version to [2.27.0](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.27.0). [#4129](https://github.com/github/codeql-action/pull/4129)

## 4.37.9 - 26 Aug 2026

- Update default CodeQL bundle version to [2.26.4](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.26.4). [#4106](https://github.com/github/codeql-action/pull/4106)
Expand Down
7 changes: 5 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,13 @@ Here are a few things you can do that will increase the likelihood of your pull
This workflow goes through the pull requests that have been merged to `main` since the last release, creates a changelog, then opens a pull request to merge the changes since the last release into the `releases/v3` release branch.

You can start a release by triggering this workflow via [workflow dispatch](https://github.com/github/codeql-action/actions/workflows/update-release-branch.yml).
1. The workflow run will open a pull request titled "Merge main into releases/v3". Follow the steps on the checklist in the pull request. Once you've checked off all but the last two of these, approve the PR and automerge it.
1. The workflow run will open a pull request titled "Merge main into releases/v3". Follow the steps on the checklist in the pull request. Once you've checked off all but the last two of these, approve the PR and automerge it **with a merge commit** (`gh pr merge --merge`).
1. When the "Merge main into releases/v3" pull request is merged into the `releases/v3` branch, a mergeback pull request to `main` will be automatically created. This mergeback pull request incorporates the changelog updates into `main`, tags the release using the merge commit of the "Merge main into releases/v3" pull request, and bumps the patch version of the CodeQL Action.
1. If a backport to an older major version is required, a pull request targeting that version's branch will also be automatically created.
1. Approve the mergeback and backport pull request (if applicable) and automerge them.
1. Approve the mergeback and backport pull request (if applicable) and automerge them **with a merge commit** (`gh pr merge --merge`).

> [!NOTE]
> The release, mergeback, and backport pull requests must always be merged with a merge commit — **never squash or rebase**. The mergeback tags the release using the merge commit of the "Merge main into releases/v3" pull request, so squashing or rebasing breaks tagging and the branch linkage the release automation relies on.
Once the mergeback and backport pull request have been merged, the release is complete.

Expand Down
14 changes: 14 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -209,4 +209,18 @@ export default [
],
},
},
{
files: ["scripts/changetool/**/*.ts"],

languageOptions: {
parserOptions: {
project: "./scripts/changetool/tsconfig.json",
},
},

rules: {
"no-console": "off",
"import/extensions": "off",
},
},
];
7 changes: 7 additions & 0 deletions init/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,13 @@ inputs:
[Internal] The ID of the check run, as provided by the Actions runtime environment. Do not set this value manually.
default: ${{ job.check_run_id }}
required: false
job-status:
description: >-
[Internal] The status of the job, as provided by the Actions runtime environment. This is how the
post step learns whether the job as a whole succeeded, failed, or was cancelled. Do not set this
value manually.
default: ${{ job.status }}
required: false
outputs:
codeql-path:
description: The path of the CodeQL binary used for analysis
Expand Down
8 changes: 4 additions & 4 deletions lib/defaults.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"bundleVersion": "codeql-bundle-v2.26.4",
"cliVersion": "2.26.4",
"priorBundleVersion": "codeql-bundle-v2.26.3",
"priorCliVersion": "2.26.3"
"bundleVersion": "codeql-bundle-v2.27.0",
"cliVersion": "2.27.0",
"priorBundleVersion": "codeql-bundle-v2.26.4",
"priorCliVersion": "2.26.4"
}
Loading
Loading