Skip to content

Commit 7f58a22

Browse files
committed
Merge branch 'main' into protocol-extension
2 parents 5ddff79 + 6b0b73b commit 7f58a22

File tree

712 files changed

+217296
-12396
lines changed

Some content is hidden

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

712 files changed

+217296
-12396
lines changed

.github/actions/fetch-codeql/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,6 @@ runs:
1919
gh extension install github/gh-codeql
2020
gh codeql set-channel "$CHANNEL"
2121
gh codeql version
22+
printf "CODEQL_FETCHED_CODEQL_PATH=" >> "${GITHUB_ENV}"
23+
gh codeql version --format=json | jq -r .unpackedLocation >> "${GITHUB_ENV}"
2224
gh codeql version --format=json | jq -r .unpackedLocation >> "${GITHUB_PATH}"

.github/dependabot.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
version: 2
22
updates:
33
- package-ecosystem: "cargo"
4-
directory: "ruby/node-types"
5-
schedule:
6-
interval: "daily"
7-
- package-ecosystem: "cargo"
8-
directory: "ruby/generator"
9-
schedule:
10-
interval: "daily"
11-
- package-ecosystem: "cargo"
12-
directory: "ruby/extractor"
4+
directory: "ruby"
135
schedule:
146
interval: "daily"
7+
158
- package-ecosystem: "cargo"
16-
directory: "ruby/autobuilder"
9+
directory: "ql"
1710
schedule:
1811
interval: "daily"
1912

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: ./.github/actions/find-latest-bundle
2828
- name: Find codeql
2929
id: find-codeql
30-
uses: github/codeql-action/init@45955cb1830b640e2c1603ad72ad542a49d47b96
30+
uses: github/codeql-action/init@beae46e6b1da530ed5e9fc6a756f92433ca47ae1
3131
with:
3232
languages: javascript # does not matter
3333
tools: ${{ steps.find-latest-bundle.outputs.url }}
@@ -139,7 +139,7 @@ jobs:
139139
env:
140140
CONF: ./ql-for-ql-config.yml
141141
- name: Initialize CodeQL
142-
uses: github/codeql-action/init@45955cb1830b640e2c1603ad72ad542a49d47b96
142+
uses: github/codeql-action/init@beae46e6b1da530ed5e9fc6a756f92433ca47ae1
143143
with:
144144
languages: ql
145145
db-location: ${{ runner.temp }}/db
@@ -152,7 +152,7 @@ jobs:
152152
PACK: ${{ runner.temp }}/pack
153153

154154
- name: Perform CodeQL Analysis
155-
uses: github/codeql-action/analyze@45955cb1830b640e2c1603ad72ad542a49d47b96
155+
uses: github/codeql-action/analyze@beae46e6b1da530ed5e9fc6a756f92433ca47ae1
156156
with:
157157
category: "ql-for-ql"
158158
- name: Copy sarif file to CWD

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
- name: Find codeql
2727
id: find-codeql
28-
uses: github/codeql-action/init@45955cb1830b640e2c1603ad72ad542a49d47b96
28+
uses: github/codeql-action/init@beae46e6b1da530ed5e9fc6a756f92433ca47ae1
2929
with:
3030
languages: javascript # does not matter
3131
- uses: ./.github/actions/os-version

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ on:
66
paths:
77
- "ql/**"
88
- codeql-workspace.yml
9+
- .github/workflows/ql-for-ql-tests.yml
910
pull_request:
1011
branches: [main]
1112
paths:
1213
- "ql/**"
1314
- codeql-workspace.yml
15+
- .github/workflows/ql-for-ql-tests.yml
1416

1517
env:
1618
CARGO_TERM_COLOR: always
@@ -22,7 +24,7 @@ jobs:
2224
- uses: actions/checkout@v3
2325
- name: Find codeql
2426
id: find-codeql
25-
uses: github/codeql-action/init@45955cb1830b640e2c1603ad72ad542a49d47b96
27+
uses: github/codeql-action/init@beae46e6b1da530ed5e9fc6a756f92433ca47ae1
2628
with:
2729
languages: javascript # does not matter
2830
- uses: ./.github/actions/os-version
@@ -65,7 +67,7 @@ jobs:
6567
echo "/usr/local/opt/gnu-tar/libexec/gnubin" >> $GITHUB_PATH
6668
- name: Find codeql
6769
id: find-codeql
68-
uses: github/codeql-action/init@77a8d2d10c0b403a8b4aadbd223dc489ecd22683
70+
uses: github/codeql-action/init@beae46e6b1da530ed5e9fc6a756f92433ca47ae1
6971
with:
7072
languages: javascript # does not matter
7173
- uses: ./.github/actions/os-version

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ There is [extensive documentation](https://codeql.github.com/docs/) on getting s
1010

1111
We welcome contributions to our standard library and standard checks. Do you have an idea for a new check, or how to improve an existing query? Then please go ahead and open a pull request! Before you do, though, please take the time to read our [contributing guidelines](CONTRIBUTING.md). You can also consult our [style guides](https://github.com/github/codeql/tree/main/docs) to learn how to format your code for consistency and clarity, how to write query metadata, and how to write query help documentation for your query.
1212

13+
For information on contributing to CodeQL documentation, see the "[contributing guide](docs/codeql/CONTRIBUTING.md)" for docs.
14+
1315
## License
1416

1517
The code in this repository is licensed under the [MIT License](LICENSE) by [GitHub](https://github.com).

config/identical-files.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@
2929
"csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowImplForContentDataFlow.qll",
3030
"go/ql/lib/semmle/go/dataflow/internal/DataFlowImpl.qll",
3131
"go/ql/lib/semmle/go/dataflow/internal/DataFlowImpl2.qll",
32+
"go/ql/lib/semmle/go/dataflow/internal/DataFlowImplForStringsNewReplacer.qll",
3233
"python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl.qll",
3334
"python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl2.qll",
3435
"python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl3.qll",
3536
"python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl4.qll",
3637
"ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowImpl.qll",
3738
"ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowImpl2.qll",
38-
"ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowImplForRegExp.qll",
3939
"ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowImplForHttpClientLibraries.qll",
4040
"ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowImplForPathname.qll",
4141
"swift/ql/lib/codeql/swift/dataflow/internal/DataFlowImpl.qll"

cpp/ql/lib/CHANGELOG.md

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

37
### Breaking Changes
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## 0.5.1
2+
3+
No user-facing changes.

cpp/ql/lib/codeql-pack.release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
lastReleaseVersion: 0.5.0
2+
lastReleaseVersion: 0.5.1

0 commit comments

Comments
 (0)