Skip to content

Commit 5c1005e

Browse files
committed
Merge branch 'main' into mbg/refactor-util/errors
2 parents c29909a + c5a2f4b commit 5c1005e

23 files changed

Lines changed: 424 additions & 247 deletions

‎.github/workflows/__diagnostics-export.yml‎

Lines changed: 13 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.github/workflows/pr-checks.yml‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: PR Checks
22

33
on:
44
push:
5+
branches:
6+
- "main"
7+
- "releases/v*"
58
pull_request:
69
merge_group:
710
types: [checks_requested]
@@ -145,12 +148,11 @@ jobs:
145148
146149
- name: Fetch base commit
147150
id: fetch-base
148-
# Forks and Dependabot PRs don't have permission to write comments, so skip the repo size
149-
# check in those cases.
151+
# Skip this (and subsequent steps) if the PR originates from a fork, since this workflow
152+
# won't have the necessary permissions to post comments on the PR.
150153
if: >-
151154
github.event_name == 'pull_request' &&
152-
github.event.pull_request.head.repo.full_name == github.repository &&
153-
github.event.pull_request.user.login != 'dependabot[bot]'
155+
github.event.pull_request.head.repo.full_name == github.repository
154156
env:
155157
BASE_SHA: ${{ github.event.pull_request.base.sha }}
156158
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
@@ -209,7 +211,7 @@ jobs:
209211
if: >-
210212
github.event_name == 'pull_request' &&
211213
github.event.pull_request.head.repo.full_name == github.repository &&
212-
github.event.pull_request.user.login != 'dependabot[bot]' &&
214+
github.actor != 'dependabot[bot]' &&
213215
needs.other-checks.result == 'success'
214216
permissions:
215217
contents: read

‎CHANGELOG.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th
44

55
## [UNRELEASED]
66

7-
No user facing changes.
7+
- 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)
88

99
## 4.39.0 - 15 Oct 2026
1010

‎init/action.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,10 @@ inputs:
153153
required: false
154154
trap-caching:
155155
description: >-
156-
Explicitly enable or disable TRAP caching rather than respecting the feature flag for it.
156+
Explicitly enable or disable TRAP caching instead of using the automatically determined default.
157+
TRAP caching is disabled by default when improved incremental analysis is enabled,
158+
because improved incremental analysis of a pull request only extracts changed files,
159+
which rarely benefit from TRAP caching.
157160
required: false
158161
dependency-caching:
159162
description: >-

‎lib/defaults.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"bundleVersion": "codeql-bundle-v2.27.2",
3-
"cliVersion": "2.27.2",
4-
"priorBundleVersion": "codeql-bundle-v2.27.1",
5-
"priorCliVersion": "2.27.1"
2+
"bundleVersion": "codeql-bundle-v2.27.3",
3+
"cliVersion": "2.27.3",
4+
"priorBundleVersion": "codeql-bundle-v2.27.2",
5+
"priorCliVersion": "2.27.2"
66
}

0 commit comments

Comments
 (0)