Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
7dcea06
Remove unused `@schemastore/package` dependency
henrymercer Mar 27, 2026
f13c600
Bump brace-expansion from 1.1.12 to 1.1.13
dependabot[bot] Mar 27, 2026
999119b
Rebuild
github-actions[bot] Mar 27, 2026
6010f9d
Update changelog and version after v4.35.1
github-actions[bot] Mar 27, 2026
cc7db4a
Rebuild
github-actions[bot] Mar 27, 2026
353802f
Move time-sensitive Actions workflows to `ubuntu-latest`
henrymercer Mar 27, 2026
fe775da
Merge pull request #3780 from github/dependabot/npm_and_yarn/brace-ex…
henrymercer Mar 27, 2026
aa69c48
Merge pull request #3779 from github/henrymercer/remove-unused-depend…
henrymercer Mar 27, 2026
191d7c6
Merge pull request #3783 from github/mergeback/v4.35.1-to-main-c10b8064
henrymercer Mar 27, 2026
4ed3c0e
Generate esbuild metadata file
mbg Mar 27, 2026
a899987
Merge pull request #3786 from github/henrymercer/faster-interactive-jobs
henrymercer Mar 27, 2026
b1981a5
Move `getApiClient` out of `sync-checks.ts`
mbg Mar 27, 2026
47f1709
Add basic metadata analysis script
mbg Mar 27, 2026
6643a7d
Only require Git 2.36.0 when repo contains submodules
henrymercer Mar 27, 2026
88a7e51
Don't disable if we don't need the git version
henrymercer Mar 27, 2026
0592832
Add changelog note
henrymercer Mar 27, 2026
4e0952a
Output largest inputs
mbg Mar 27, 2026
3db32b5
Fix `outputs` type
mbg Mar 27, 2026
f98bf5e
Output relative to `__dirname`
mbg Mar 27, 2026
be0a156
Save a computation of the git root
henrymercer Mar 30, 2026
a507a54
Test fallback when repo has no submodules
henrymercer Mar 30, 2026
0c7c298
Extend start-proxy.yml to test multiple registry support
mario-campos Mar 30, 2026
9fd9b64
Replace `jq` with Actions expression for proxy_urls validation
mario-campos Mar 31, 2026
c618c9b
Merge pull request #3789 from github/henrymercer/lower-minimum-git-if…
henrymercer Mar 31, 2026
99b8dd4
Run `pr-checks/sync.sh` to generate __start-proxy.yml.
mario-campos Mar 31, 2026
8b5e604
Use `maven_repository`, not `maven-repository`
mario-campos Mar 31, 2026
faf45e0
Use different maven URL for start-proxy.yml test
mario-campos Mar 31, 2026
7b0c5b1
Keep validation steps named consistently
mario-campos Mar 31, 2026
e2203c6
Delete `fromJSON()` calls in test validation step
mario-campos Mar 31, 2026
2e3aaae
Merge pull request #3787 from github/mbg/bundle/metadata
mbg Apr 1, 2026
1f4c852
Clean up Python extract stdlib feature flag
henrymercer Apr 1, 2026
311573e
Add changelog note
henrymercer Apr 1, 2026
57ec7e1
Merge pull request #3794 from github/henrymercer/cleanup
henrymercer Apr 1, 2026
34950e1
Merge pull request #3792 from github/mario-campos/issue-1664
mbg Apr 1, 2026
36075a4
Deprecate TRAP cache cleanup
henrymercer Apr 1, 2026
212e283
Upgrade to TypeScript 6
henrymercer Apr 2, 2026
5f323ca
Mark Swift incompatible OS as configuration error
henrymercer Apr 2, 2026
e25c0a5
Merge pull request #3795 from github/henrymercer/deprecate-trap-cachi…
henrymercer Apr 7, 2026
1065967
Merge pull request #3800 from github/henrymercer/typescript-6
henrymercer Apr 7, 2026
de1752b
Bump lodash from 4.17.23 to 4.18.1
dependabot[bot] Apr 7, 2026
6eed62b
Bump eslint-plugin-jsdoc in the npm-minor group across 1 directory
dependabot[bot] Apr 7, 2026
347f0c6
Merge pull request #3803 from github/dependabot/npm_and_yarn/npm-mino…
henrymercer Apr 7, 2026
e6c8394
Merge pull request #3802 from github/dependabot/npm_and_yarn/lodash-4…
henrymercer Apr 7, 2026
f8aff3a
Add tests for getCredentials with multiple goproxy_servers and maven_…
mario-campos Apr 2, 2026
43d8864
Run `npm run lint-fix` to format the code
mario-campos Apr 2, 2026
14ed573
Specify "Go" for a test case
mario-campos Apr 7, 2026
35a3898
Specify "Java" for a test case
mario-campos Apr 7, 2026
b623f5f
Merge pull request #3799 from github/mario-campos/test-multiple-regis…
mario-campos Apr 7, 2026
e452857
Throw error early rather than warning
henrymercer Apr 8, 2026
808513f
Update language aliases test
henrymercer Apr 8, 2026
751f3e2
Bump eslint-plugin-jsdoc from 62.8.1 to 62.9.0 in the npm-minor group
dependabot[bot] Apr 8, 2026
76a687e
Merge pull request #3804 from github/dependabot/npm_and_yarn/npm-mino…
henrymercer Apr 9, 2026
43d8420
Do not run Swift in debug artifacts after failure check
henrymercer Apr 9, 2026
5a17511
Throw error on Windows too
henrymercer Apr 9, 2026
51d8332
Store language aliases from linked CLI
henrymercer Apr 9, 2026
111a537
Update `start-proxy` Action to use known language aliases
henrymercer Apr 9, 2026
d277a56
Fix OIDC credential property names
mbg Apr 9, 2026
597e12a
Merge pull request #3801 from github/henrymercer/swift-incompatible-os
henrymercer Apr 9, 2026
7197c2b
Add changelog entry
mbg Apr 9, 2026
60991e6
Merge pull request #3806 from github/henrymercer/store-language-aliases
henrymercer Apr 10, 2026
a26cb68
Merge pull request #3807 from github/mbg/start-proxy/fix-field-names
mbg Apr 10, 2026
1cf0431
Set `module` option for `pr-checks/tsconfig.json`
mbg Apr 10, 2026
4e8c9ce
Refactoring: Introduce `overlay/caching.ts`
henrymercer Apr 10, 2026
b669eab
Explicitly add `pr-checks` to Dependabot config
mbg Apr 10, 2026
ee09113
Merge pull request #3810 from github/mbg/ts6/fix-pr-checks
mbg Apr 10, 2026
8339b92
Merge pull request #3819 from github/henrymercer/refactor-overlay-cac…
henrymercer Apr 13, 2026
c1403f0
Bump the actions-minor group across 1 directory with 2 updates
dependabot[bot] Apr 13, 2026
9dd4cfe
Bump the npm-minor group across 1 directory with 6 updates
dependabot[bot] Apr 13, 2026
1024fc4
Rebuild
github-actions[bot] Apr 13, 2026
f1c3393
Rebuild
github-actions[bot] Apr 13, 2026
3c45af2
Merge pull request #3821 from github/dependabot/npm_and_yarn/npm-mino…
henrymercer Apr 13, 2026
6521697
Merge pull request #3820 from github/dependabot/github_actions/dot-gi…
henrymercer Apr 13, 2026
5a0a562
Update default bundle to codeql-bundle-v2.25.2
github-actions[bot] Apr 15, 2026
60abb65
Add changelog note
github-actions[bot] Apr 15, 2026
d2e135a
Merge pull request #3823 from github/update-bundle/codeql-bundle-v2.25.2
henrymercer Apr 15, 2026
6f31bfe
Update changelog for v4.35.2
github-actions[bot] Apr 15, 2026
95e58e9
Merge pull request #3824 from github/update-v4.35.2-d2e135a73
henrymercer Apr 15, 2026
7ca2158
Revert "Update version and changelog for v3.35.1"
github-actions[bot] Apr 15, 2026
047c547
Revert "Rebuild"
github-actions[bot] Apr 15, 2026
834786a
Merge remote-tracking branch 'origin/releases/v4' into backport-v3.35…
github-actions[bot] Apr 15, 2026
8bcc8f2
Update version and changelog for v3.35.2
github-actions[bot] Apr 15, 2026
c186c7b
Rebuild
github-actions[bot] Apr 15, 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
4 changes: 3 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
directories:
- "/"
- "/pr-checks"
schedule:
interval: weekly
cooldown:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/__language-aliases.yml

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/__rubocop-multi-language.yml

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

19 changes: 18 additions & 1 deletion .github/workflows/__start-proxy.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/debug-artifacts-failure-safe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
uses: ./../action/.github/actions/verify-debug-artifact-scan-completed
- uses: ./../action/init
with:
languages: cpp,csharp,go,java,javascript,python
tools: ${{ steps.prepare-test.outputs.tools-url }}
debug: true
debug-artifact-name: my-debug-artifacts
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/post-release-mergeback.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ defaults:

jobs:
merge-back:
runs-on: ubuntu-slim
runs-on: ubuntu-latest
environment: Automation
if: github.repository == 'github/codeql-action'
env:
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
echo "::endgroup::"

- name: Generate token
uses: actions/create-github-app-token@v3.0.0
uses: actions/create-github-app-token@v3.1.1
id: app-token
with:
app-id: ${{ vars.AUTOMATION_APP_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ defaults:
jobs:
prepare:
name: "Prepare release"
runs-on: ubuntu-slim
runs-on: ubuntu-latest
if: github.repository == 'github/codeql-action'

permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rollback-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:

- name: Generate token
if: github.event_name == 'workflow_dispatch'
uses: actions/create-github-app-token@v3.0.0
uses: actions/create-github-app-token@v3.1.1
id: app-token
with:
app-id: ${{ vars.AUTOMATION_APP_ID }}
Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/update-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defaults:
jobs:
update-bundle:
if: github.event.release.prerelease && startsWith(github.event.release.tag_name, 'codeql-bundle-')
runs-on: ubuntu-slim
runs-on: ubuntu-latest
permissions:
contents: write # needed to push commits
pull-requests: write # needed to create pull requests
Expand Down Expand Up @@ -57,6 +57,20 @@ jobs:
- name: Update bundle
uses: ./.github/actions/update-bundle

- name: Set up CodeQL CLI from new bundle
id: setup-codeql
uses: ./setup-codeql
with:
tools: https://github.com/github/codeql-action/releases/download/${{ github.event.release.tag_name }}/codeql-bundle-linux64.tar.gz

- name: Update language aliases
env:
CODEQL_PATH: ${{ steps.setup-codeql.outputs.codeql-path }}
run: |
"$CODEQL_PATH" resolve languages --format=betterjson --extractor-include-aliases \
| jq -S '.aliases // {}' \
> src/known-language-aliases.json

- name: Bump Action minor version if new CodeQL minor version series
id: bump-action-version
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/update-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

update:
timeout-minutes: 45
runs-on: ubuntu-slim
runs-on: ubuntu-latest
if: github.event_name == 'workflow_dispatch'
needs: [prepare]
env:
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:

backport:
timeout-minutes: 45
runs-on: ubuntu-slim
runs-on: ubuntu-latest
environment: Automation
needs: [prepare]
if: ${{ (github.event_name == 'push') && needs.prepare.outputs.backport_target_branches != '[]' }}
Expand All @@ -93,7 +93,7 @@ jobs:
pull-requests: write # needed to create pull request
steps:
- name: Generate token
uses: actions/create-github-app-token@v3.0.0
uses: actions/create-github-app-token@v3.1.1
id: app-token
with:
app-id: ${{ vars.AUTOMATION_APP_ID }}
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ build/
eslint.sarif
# for local incremental compilation
tsconfig.tsbuildinfo
# esbuild metadata file
meta.json
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

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

## 3.35.2 - 15 Apr 2026

- The undocumented TRAP cache cleanup feature that could be enabled using the `CODEQL_ACTION_CLEANUP_TRAP_CACHES` environment variable is deprecated and will be removed in May 2026. If you are affected by this, we recommend disabling TRAP caching by passing the `trap-caching: false` input to the `init` Action. [#3795](https://github.com/github/codeql-action/pull/3795)
- The Git version 2.36.0 requirement for improved incremental analysis now only applies to repositories that contain submodules. [#3789](https://github.com/github/codeql-action/pull/3789)
- Python analysis on GHES no longer extracts the standard library, relying instead on models of the standard library. This should result in significantly faster extraction and analysis times, while the effect on alerts should be minimal. [#3794](https://github.com/github/codeql-action/pull/3794)
- Fixed a bug in the validation of OIDC configurations for private registries that was added in CodeQL Action 4.33.0 / 3.33.0. [#3807](https://github.com/github/codeql-action/pull/3807)
- Update default CodeQL bundle version to [2.25.2](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.25.2). [#3823](https://github.com/github/codeql-action/pull/3823)

## 3.35.1 - 27 Mar 2026

- Fix incorrect minimum required Git version for [improved incremental analysis](https://github.com/github/roadmap/issues/1158): it should have been 2.36.0, not 2.11.0. [#3781](https://github.com/github/codeql-action/pull/3781)
Expand Down
13 changes: 10 additions & 3 deletions build.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { copyFile, rm } from "node:fs/promises";
import { copyFile, rm, writeFile } from "node:fs/promises";
import { dirname, join } from "node:path";
import { fileURLToPath } from "node:url";

Expand Down Expand Up @@ -64,7 +64,11 @@ const onEndPlugin = {

const context = await esbuild.context({
// Include upload-lib.ts as an entry point for use in testing environments.
entryPoints: globSync([`${SRC_DIR}/*-action.ts`, `${SRC_DIR}/*-action-post.ts`, "src/upload-lib.ts"]),
entryPoints: globSync([
`${SRC_DIR}/*-action.ts`,
`${SRC_DIR}/*-action-post.ts`,
"src/upload-lib.ts",
]),
bundle: true,
format: "cjs",
outdir: OUT_DIR,
Expand All @@ -74,7 +78,10 @@ const context = await esbuild.context({
define: {
__CODEQL_ACTION_VERSION__: JSON.stringify(pkg.version),
},
metafile: true,
});

await context.rebuild();
const result = await context.rebuild();
await writeFile(join(__dirname, "meta.json"), JSON.stringify(result.metafile));

await context.dispose();
Loading
Loading