Skip to content

Commit cfe2559

Browse files
committed
Merge branch 'main' into dotdot
2 parents cd6975f + b1ee795 commit cfe2559

File tree

5,155 files changed

+338829
-128319
lines changed

Some content is hidden

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

5,155 files changed

+338829
-128319
lines changed

.github/copilot-instructions.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
When reviewing code:
2+
* do not review changes in files with `.expected` extension (they are automatically ensured to be correct).
3+
* in `.ql` and `.qll` files, do not try to review the code itself as you don't understand the programming language
4+
well enough to make comments in these languages. You can still check for typos or comment improvements.
5+
6+
When editing `.ql` and `.qll` files:
7+
* All edited `.ql` and `.qll` files should be autoformatted afterwards using the CodeQL CLI.
8+
* To install and use the CodeQL CLI autoformatter:
9+
1. Download and extract CodeQL CLI: `cd /tmp && curl -L -o codeql-linux64.zip https://github.com/github/codeql-cli-binaries/releases/latest/download/codeql-linux64.zip && unzip -q codeql-linux64.zip`
10+
2. Add to PATH: `export PATH="/tmp/codeql:$PATH"`
11+
3. Run autoformatter: `codeql query format [file] --in-place`

.github/workflows/check-change-note.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ on:
1616
- "shared/**/*.qll"
1717
- "!**/experimental/**"
1818
- "!ql/**"
19-
- "!rust/**"
2019
- ".github/workflows/check-change-note.yml"
2120

2221
jobs:
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Check overlay annotations
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- 'rc/*'
8+
pull_request:
9+
branches:
10+
- main
11+
- 'rc/*'
12+
13+
permissions:
14+
contents: read
15+
16+
jobs:
17+
sync:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
- name: Check overlay annotations
22+
run: python config/add-overlay-annotations.py --check java
23+

.github/workflows/go-tests-other-os.yml

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

.github/workflows/go-tests-rtjo.yml

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

.github/workflows/go-tests.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,9 @@
11
name: "Go: Run Tests"
22
on:
3-
push:
4-
paths:
5-
- "go/**"
6-
- "!go/documentation/**"
7-
- "shared/**"
8-
- .github/workflows/go-tests.yml
9-
- .github/actions/**
10-
- codeql-workspace.yml
11-
branches:
12-
- main
13-
- "rc/*"
143
pull_request:
154
paths:
165
- "go/**"
17-
- "!go/documentation/**"
6+
- "!go/documentation/**"
187
- "shared/**"
198
- .github/workflows/go-tests.yml
209
- .github/actions/**

.github/workflows/ql-for-ql-dataset_measure.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- name: Create database
5454
run: |
5555
"${CODEQL}" database create \
56-
--search-path "${{ github.workspace }}"
56+
--search-path "${{ github.workspace }}" \
5757
--threads 4 \
5858
--language ql --source-root "${{ github.workspace }}/repo" \
5959
"${{ runner.temp }}/database"

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repos:
99
- id: trailing-whitespace
1010
exclude: /test/.*$(?<!\.qlref)|.*\.patch$|.*\.qll?$
1111
- id: end-of-file-fixer
12-
exclude: /test/.*$(?<!\.qlref)|.*\.patch$|.*\.qll?$
12+
exclude: Cargo.lock$|/test/.*$(?<!\.qlref)|.*\.patch$|.*\.qll?$
1313

1414
- repo: https://github.com/pre-commit/mirrors-clang-format
1515
rev: v17.0.6
@@ -20,7 +20,7 @@ repos:
2020
rev: 25.1.0
2121
hooks:
2222
- id: black
23-
files: ^(misc/codegen/.*|misc/scripts/models-as-data/bulk_generate_mad)\.py$
23+
files: ^(misc/codegen/.*|misc/scripts/models-as-data/.*)\.py$
2424

2525
- repo: local
2626
hooks:

0 commit comments

Comments
 (0)