Merge main into releases/v4 by github-actions[bot] · Pull Request #4257 · github/codeql-action · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
ba79a4f
Do not run `pr-checks` for all push events
mbg Oct 9, 2026
2883b5b
Fix conditions in `pr-checks` workflow
mbg Oct 9, 2026
a6ff2ad
Use `github.actor` for `post-repo-size-comment` condition
mbg Oct 9, 2026
0735d79
Improve `GitHubApiDetails` types and documentation
mbg Oct 13, 2026
102e46e
Move some definitions out of `util.ts` into a new `github.ts` module
mbg Oct 13, 2026
61bfcff
Add functions to get the current and dotcom instance
mbg Oct 13, 2026
e062530
Move `GitHubApiDetails` to `github.ts`
mbg Oct 13, 2026
a243813
Make `auth` property on `GitHubApiDetails` optional
mbg Oct 13, 2026
96501a3
Use `getCurrentInstance()`
mbg Oct 13, 2026
1b0a617
Make `externalRepoAuth` check more consistent
mbg Oct 13, 2026
1d30a84
Guard against blank `auth` value
mbg Oct 13, 2026
66c96fd
Check `auth` value in `getAuthorizationHeaderFor`
mbg Oct 14, 2026
f9b4185
Check token value in `uploadBundledDatabase`
mbg Oct 14, 2026
bfe264b
Add very basic `getApiClientWithExternalAuth` test
mbg Oct 14, 2026
a08b587
Allow `getApiClient` to accept `GitHubApiDetails`
mbg Oct 14, 2026
f6e8dce
Pass `apiDetails` to `getApiClient` in `uploadBundledDatabase`
mbg Oct 14, 2026
047c751
Add a test for `uploadBundledDatabase`
mbg Oct 14, 2026
c164184
Remove explicit `authorization` header from `uploadBundledDatabase`
mbg Oct 14, 2026
8844fb3
Bump the actions-minor group across 1 directory with 3 updates
dependabot[bot] Oct 14, 2026
3afe9c0
Rebuild
github-actions[bot] Oct 14, 2026
d63cb97
Merge branch 'main' into mbg/ci/improve-pr-checks-triggers
mbg Oct 15, 2026
3ec43ab
Merge branch 'main' into dependabot/github_actions/dot-github/workflo…
mbg Oct 15, 2026
e5b217a
Merge pull request #4238 from github/dependabot/github_actions/dot-gi…
mbg Oct 15, 2026
2edace4
Update changelog and version after v4.39.0
github-actions[bot] Oct 15, 2026
46d3daa
Rebuild
github-actions[bot] Oct 15, 2026
7a6e2f7
Merge pull request #4240 from github/mergeback/v4.39.0-to-main-6f2ac81f
mbg Oct 15, 2026
1ec6b03
Enable toolcache bundle cleanup by default
henrymercer Oct 15, 2026
4ebc48b
Remove the toolcache cleanup test override
henrymercer Oct 15, 2026
0a458f1
Merge pull request #4230 from github/mbg/auth/allow-unauthed
mbg Oct 16, 2026
ae098fa
Merge pull request #4242 from github/henrymercer/graduate-toolcache-c…
henrymercer Oct 16, 2026
e038b67
Graduate overlay TRAP caching defaults
henrymercer Oct 15, 2026
0d2baf6
Update `copilot-instructions.md` to mention feature flags
mbg Oct 16, 2026
e344c79
Document TRAP caching default with improved incremental analysis
henrymercer Oct 16, 2026
2441e6e
Update "Review instructions" based on recent reviews
mbg Oct 16, 2026
f3c93e3
Add some guidelines for change notes
mbg Oct 16, 2026
6992155
Elaborate GHES details
mbg Oct 16, 2026
e461913
Drop "requests" again
mbg Oct 16, 2026
5ecf3b3
Suggest "Minor" prefix
mbg Oct 16, 2026
83e1837
Merge pull request #4247 from github/mbg/copilot/clarify-feature-flags
mbg Oct 16, 2026
604377f
Move inline script from `diagnostics-export.yml` to a `.ts` file
mbg Oct 16, 2026
3db7caf
Merge pull request #4219 from github/mbg/ci/improve-pr-checks-triggers
mbg Oct 16, 2026
0fda7a6
Merge pull request #4248 from github/mbg/move-diag-export-script
mbg Oct 20, 2026
be1223f
Log when we didn't get a normal configuration file
mbg Oct 12, 2026
a9cd2f9
Allow to explicitly not skip the SARIF upload
mbg Oct 15, 2026
6e9aec6
Add and use `shouldSkipGenerateFailedSarif`
mbg Oct 15, 2026
02fb8cc
Propagate `Config` to `combineSarifFilesUsingCLI`
mbg Oct 15, 2026
e7340ee
Skip waiting for SARIF if nothing was uploaded
mbg Oct 16, 2026
1d373e0
Upload failed SARIF as workflow artifact in test mode
mbg Oct 12, 2026
5b69b28
Improve logging in `uploadSarifArtifact`
mbg Oct 16, 2026
950b147
Ensure that `rootDirectory` is suitable for `sarifFile` in `uploadSar…
mbg Oct 16, 2026
72cb698
Update default bundle to codeql-bundle-v2.27.3
github-actions[bot] Oct 20, 2026
260a534
Add changelog note
github-actions[bot] Oct 20, 2026
74ddcd9
Fix typo in comment
mbg Oct 20, 2026
a69c7cb
Document that setting the env vars to `false` takes precedence
mbg Oct 20, 2026
7fa4518
Use `shouldSkipSarifUpload` in `analyze-action.ts`
mbg Oct 20, 2026
b96e339
Change comment for `getConfig` call in `upload-sarif`
mbg Oct 20, 2026
3dd33f8
Merge pull request #4249 from github/mbg/upload-improvements-for-4223
mbg Oct 20, 2026
61a5a80
Merge pull request #4256 from github/update-bundle/codeql-bundle-v2.27.3
mario-campos Oct 20, 2026
c5a2f4b
Merge pull request #4245 from github/henrymercer/graduate-overlay-tra…
henrymercer Oct 20, 2026
20f5ec3
Update changelog for v4.39.1
github-actions[bot] Oct 21, 2026
b5e1ed9
Trigger workflows
mario-campos Oct 21, 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
17 changes: 15 additions & 2 deletions .github/copilot-instructions.md
4 changes: 2 additions & 2 deletions .github/workflows/__analysis-kinds.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/__config-export.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/__config-input.yml

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

62 changes: 14 additions & 48 deletions .github/workflows/__diagnostics-export.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/__export-file-baseline-information.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/__job-run-uuid-sarif.yml

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

1 change: 0 additions & 1 deletion .github/workflows/__multi-language-autodetect.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/__packaging-config-inputs-js.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/__packaging-config-js.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/__packaging-inputs-js.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/codescanning-config-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Set up Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: 24
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/debug-artifacts-failure-safe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download all artifacts
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
- name: Check expected artifacts exist
run: |
LANGUAGES="cpp csharp go java javascript python"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/debug-artifacts-safe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download all artifacts
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
- name: Check expected artifacts exist
run: |
VERSIONS="stable-v2.20.7 default linked nightly-latest"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/post-release-mergeback.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0 # ensure we have all tags and can push commits
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: 24
cache: 'npm'
Expand Down
20 changes: 11 additions & 9 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: PR Checks

on:
push:
branches:
- "main"
- "releases/v*"
pull_request:
merge_group:
types: [checks_requested]
Expand Down Expand Up @@ -42,7 +45,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Set up Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
Expand Down Expand Up @@ -110,7 +113,7 @@ jobs:
fi
- name: Set up Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: 24
cache: "npm"
Expand Down Expand Up @@ -145,12 +148,11 @@ jobs:
- name: Fetch base commit
id: fetch-base
# Forks and Dependabot PRs don't have permission to write comments, so skip the repo size
# check in those cases.
# Skip this (and subsequent steps) if the PR originates from a fork, since this workflow
# won't have the necessary permissions to post comments on the PR.
if: >-
github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.full_name == github.repository &&
github.event.pull_request.user.login != 'dependabot[bot]'
github.event.pull_request.head.repo.full_name == github.repository
env:
BASE_SHA: ${{ github.event.pull_request.base.sha }}
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
Expand All @@ -175,7 +177,7 @@ jobs:

- name: Upload repo size comment
if: steps.fetch-base.outcome == 'success'
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: repo-size-comment
path: ${{ runner.temp }}/repo-size/
Expand Down Expand Up @@ -209,7 +211,7 @@ jobs:
if: >-
github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.full_name == github.repository &&
github.event.pull_request.user.login != 'dependabot[bot]' &&
github.actor != 'dependabot[bot]' &&
needs.other-checks.result == 'success'
permissions:
contents: read
Expand All @@ -223,7 +225,7 @@ jobs:

steps:
- name: Download repo size comment
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: repo-size-comment
path: repo-size-comment
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/query-filters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Install Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: 24
cache: npm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
ref: ${{ env.HEAD_REF }}

- name: Set up Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: 24
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
git config --global user.name "github-actions[bot]"
- name: Set up Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: 24
cache: 'npm'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Set up Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: 24
cache: 'npm'
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

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

## 4.39.1 - 21 Oct 2026

- Update default CodeQL bundle version to [2.27.3](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.27.3). [#4256](https://github.com/github/codeql-action/pull/4256)

## 4.39.0 - 15 Oct 2026

- _Breaking change_: Bump the minimum required CodeQL bundle version to 2.20.7. [#4205](https://github.com/github/codeql-action/pull/4205)
Expand Down
5 changes: 4 additions & 1 deletion init/action.yml
Loading
Loading