Skip to content

Commit bda9e12

Browse files
committed
Merge branch 'main' into feat/csharp-missed-firstordefault-opprtunity
2 parents d9b1b6e + 53db3bd commit bda9e12

268 files changed

Lines changed: 1959 additions & 827 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

MODULE.bazel

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ use_repo(
278278
"kotlin-compiler-2.3.0",
279279
"kotlin-compiler-2.3.20",
280280
"kotlin-compiler-2.4.0",
281+
"kotlin-compiler-2.4.20",
281282
"kotlin-compiler-embeddable-1.8.0",
282283
"kotlin-compiler-embeddable-1.9.0-Beta",
283284
"kotlin-compiler-embeddable-1.9.20-Beta",
@@ -290,6 +291,7 @@ use_repo(
290291
"kotlin-compiler-embeddable-2.3.0",
291292
"kotlin-compiler-embeddable-2.3.20",
292293
"kotlin-compiler-embeddable-2.4.0",
294+
"kotlin-compiler-embeddable-2.4.20",
293295
"kotlin-stdlib-1.8.0",
294296
"kotlin-stdlib-1.9.0-Beta",
295297
"kotlin-stdlib-1.9.20-Beta",
@@ -302,10 +304,11 @@ use_repo(
302304
"kotlin-stdlib-2.3.0",
303305
"kotlin-stdlib-2.3.20",
304306
"kotlin-stdlib-2.4.0",
307+
"kotlin-stdlib-2.4.20",
305308
)
306309

307310
go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk")
308-
go_sdk.download(version = "1.27.0")
311+
go_sdk.download(version = "1.27.1")
309312

310313
go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
311314
go_deps.from_file(go_mod = "//go/extractor:go.mod")

actions/ql/lib/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
## 0.6.1
2+
3+
### New Features
4+
5+
* GitHub Actions databases now extract `actions.lock` files. The new `ActionsLock` class
6+
provides access to their YAML abstract syntax trees.
7+
8+
### Minor Analysis Improvements
9+
10+
* Checks on author association fields read from the event payload (e.g. `github.event.pull_request.author_association`) now only count as protection for events whose payload actually populates that field. Previously, a condition such as `github.event.pull_request.author_association != 'NONE'` on a workflow triggered by `issues` events was treated as a protective check even though `github.event.pull_request` is not populated for `issues` events, which makes the condition vacuous. This change may result in more alerts for queries using the `ControlCheck` class.
11+
112
## 0.6.0
213

314
### Breaking Changes

actions/ql/lib/change-notes/2026-09-01-actions-lock-yaml.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

actions/ql/lib/change-notes/2026-08-19-association-if-check-event-validity.md renamed to actions/ql/lib/change-notes/released/0.6.1.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
---
2-
category: minorAnalysis
3-
---
1+
## 0.6.1
2+
3+
### New Features
4+
5+
* GitHub Actions databases now extract `actions.lock` files. The new `ActionsLock` class
6+
provides access to their YAML abstract syntax trees.
7+
8+
### Minor Analysis Improvements
9+
410
* Checks on author association fields read from the event payload (e.g. `github.event.pull_request.author_association`) now only count as protection for events whose payload actually populates that field. Previously, a condition such as `github.event.pull_request.author_association != 'NONE'` on a workflow triggered by `issues` events was treated as a protective check even though `github.event.pull_request` is not populated for `issues` events, which makes the condition vacuous. This change may result in more alerts for queries using the `ControlCheck` class.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
lastReleaseVersion: 0.6.0
2+
lastReleaseVersion: 0.6.1

actions/ql/lib/codeql/actions/security/ControlChecks.qll

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,19 @@ abstract class LabelCheck extends ControlCheck {
276276
}
277277
}
278278

279+
/**
280+
* A deployment environment that may serve as a sanitizer for
281+
* various vulnerabilities.
282+
*
283+
* It is possible to customize which deployment environments apply. The default behavior
284+
* of this model is for any environment to be considered a sanitizer.
285+
* If values are provided then those names
286+
* will be used to define the valid sanitizer set.
287+
* To describe the situation where there is no acceptable sanitizer environment
288+
* populate the predicate `enabledDeploymentEnvironmentDataModel` to contain a single empty string.
289+
*/
279290
class EnvironmentCheck extends ControlCheck instanceof Environment {
280291
EnvironmentCheck() {
281-
// if there are any custom tuples use those
282292
if enabledDeploymentEnvironmentDataModel(_)
283293
then enabledDeploymentEnvironmentDataModel(this.(Environment).getName())
284294
else this instanceof Environment

actions/ql/lib/qlpack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: codeql/actions-all
2-
version: 0.6.1-dev
2+
version: 0.6.2-dev
33
library: true
44
warnOnImplicitThis: true
55
dependencies:

actions/ql/src/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.6.35
2+
3+
No user-facing changes.
4+
15
## 0.6.34
26

37
### Minor Analysis Improvements
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## 0.6.35
2+
3+
No user-facing changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
lastReleaseVersion: 0.6.34
2+
lastReleaseVersion: 0.6.35

0 commit comments

Comments
 (0)