mirror of
https://github.com/github/codeql-action.git
synced 2025-12-25 00:30:08 +08:00
Compare commits
148 Commits
codeql-bun
...
v3.31.8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f47c8e6a9b | ||
|
|
74951318a2 | ||
|
|
5676d1f64a | ||
|
|
c1bea80e56 | ||
|
|
2d9c0b97af | ||
|
|
827017f97b | ||
|
|
1b168cd394 | ||
|
|
120f277b16 | ||
|
|
1b0b941e1f | ||
|
|
db812c1ae6 | ||
|
|
2930dba17a | ||
|
|
bffd034ab1 | ||
|
|
c43362b91a | ||
|
|
002a7f25fd | ||
|
|
5b7e7fcc9c | ||
|
|
817dbfb39b | ||
|
|
149d184a51 | ||
|
|
97c2630b10 | ||
|
|
793f7006bb | ||
|
|
d2e9832330 | ||
|
|
c2e4b7785f | ||
|
|
66d7f51a10 | ||
|
|
b93926dc35 | ||
|
|
cf1bb45a27 | ||
|
|
f4ebe95061 | ||
|
|
f5c63fadd5 | ||
|
|
a2c01e776e | ||
|
|
ac34c13834 | ||
|
|
267c4672a5 | ||
|
|
aeabef7b69 | ||
|
|
c4efbda299 | ||
|
|
dd8914320f | ||
|
|
78357d3fc9 | ||
|
|
d61a6fa793 | ||
|
|
ce27e95f79 | ||
|
|
43224eb34e | ||
|
|
497990dfed | ||
|
|
f0ac9bfbe3 | ||
|
|
89cb79a131 | ||
|
|
c1ca379fc0 | ||
|
|
dbf6819ebd | ||
|
|
5af51f4048 | ||
|
|
e439418aab | ||
|
|
249860e323 | ||
|
|
c3455c55c1 | ||
|
|
fe4161a26a | ||
|
|
88c2ab5eee | ||
|
|
ecec1f8876 | ||
|
|
23da732778 | ||
|
|
f7abc748a3 | ||
|
|
32ada5e061 | ||
|
|
75b2f49aea | ||
|
|
f036b1cb78 | ||
|
|
58c5954801 | ||
|
|
b02fa13292 | ||
|
|
8d91fa189d | ||
|
|
2f3bbce9a6 | ||
|
|
c178e03ec8 | ||
|
|
d29b97960c | ||
|
|
1ffb7dd0c8 | ||
|
|
bd8d26b618 | ||
|
|
bd30e753a6 | ||
|
|
4822f934e3 | ||
|
|
0c204fc557 | ||
|
|
59ce4c1340 | ||
|
|
3e939667ec | ||
|
|
7850b1c983 | ||
|
|
c370017ae8 | ||
|
|
a6909455e4 | ||
|
|
510d25ff7f | ||
|
|
85fd3e57b5 | ||
|
|
d8e497a759 | ||
|
|
99d80b4ea7 | ||
|
|
0155561719 | ||
|
|
6b7e963cf1 | ||
|
|
0e52774aee | ||
|
|
62e90525a0 | ||
|
|
8484f54a0a | ||
|
|
5bd8069afb | ||
|
|
6feac2b36a | ||
|
|
514279113a | ||
|
|
e2a623d7cf | ||
|
|
52f930e50a | ||
|
|
d3ced5c96c | ||
|
|
c12d7c1f2d | ||
|
|
478350182f | ||
|
|
2e2a1cf1ef | ||
|
|
e2cca77d06 | ||
|
|
801a18bea6 | ||
|
|
1c715a714c | ||
|
|
29e11fdce1 | ||
|
|
fdbfb4d275 | ||
|
|
81f6d649ae | ||
|
|
ec2ee575c0 | ||
|
|
ecc87875ee | ||
|
|
1d2a238d7d | ||
|
|
c3d42c5d08 | ||
|
|
9031cd9330 | ||
|
|
f58938aee2 | ||
|
|
1f1c162805 | ||
|
|
7ab96a0e6f | ||
|
|
e3cb86275a | ||
|
|
f94c9befff | ||
|
|
e5971bdba6 | ||
|
|
c5a9d29dc9 | ||
|
|
9f1109665d | ||
|
|
f8f60f3a2b | ||
|
|
f4d10b9ef7 | ||
|
|
f5f9571d61 | ||
|
|
ecaa6db95a | ||
|
|
a47d04cf9b | ||
|
|
d854ba6ec0 | ||
|
|
cf8b7a6e14 | ||
|
|
5d5cd550d3 | ||
|
|
c6eb09db21 | ||
|
|
09db9044dc | ||
|
|
d3cd47d8d6 | ||
|
|
8e9caa5100 | ||
|
|
23a6333b88 | ||
|
|
c503cb4fbb | ||
|
|
c2805e0a04 | ||
|
|
c0d3370b54 | ||
|
|
ddd0dc746a | ||
|
|
2f607936ce | ||
|
|
37e7dfbaa0 | ||
|
|
d198d2fabf | ||
|
|
9e3918e481 | ||
|
|
7dd1575dac | ||
|
|
28fc48d83c | ||
|
|
12c6008004 | ||
|
|
d3019effb0 | ||
|
|
42213152a8 | ||
|
|
e677e67801 | ||
|
|
5f3f3164ad | ||
|
|
ba42101490 | ||
|
|
f11af5849b | ||
|
|
ba5430dc86 | ||
|
|
13e883e119 | ||
|
|
755f44910c | ||
|
|
948223fe01 | ||
|
|
a37add20d4 | ||
|
|
ab163cf08b | ||
|
|
319796f085 | ||
|
|
bd1ac56295 | ||
|
|
a8d1ac45b9 | ||
|
|
c551c50310 | ||
|
|
01f1a24033 | ||
|
|
b264e15259 |
2
.github/actions/check-sarif/action.yml
vendored
2
.github/actions/check-sarif/action.yml
vendored
@@ -16,5 +16,5 @@ inputs:
|
|||||||
Comma separated list of query ids that should NOT be included in this SARIF file.
|
Comma separated list of query ids that should NOT be included in this SARIF file.
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: node24
|
using: node20
|
||||||
main: index.js
|
main: index.js
|
||||||
|
|||||||
2
.github/workflows/__all-platform-bundle.yml
generated
vendored
2
.github/workflows/__all-platform-bundle.yml
generated
vendored
@@ -71,7 +71,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__analyze-ref-input.yml
generated
vendored
2
.github/workflows/__analyze-ref-input.yml
generated
vendored
@@ -77,7 +77,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__autobuild-action.yml
generated
vendored
2
.github/workflows/__autobuild-action.yml
generated
vendored
@@ -61,7 +61,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__autobuild-direct-tracing-with-working-dir.yml
generated
vendored
2
.github/workflows/__autobuild-direct-tracing-with-working-dir.yml
generated
vendored
@@ -63,7 +63,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__autobuild-working-dir.yml
generated
vendored
2
.github/workflows/__autobuild-working-dir.yml
generated
vendored
@@ -47,7 +47,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__build-mode-autobuild.yml
generated
vendored
2
.github/workflows/__build-mode-autobuild.yml
generated
vendored
@@ -63,7 +63,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__build-mode-manual.yml
generated
vendored
2
.github/workflows/__build-mode-manual.yml
generated
vendored
@@ -67,7 +67,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__build-mode-none.yml
generated
vendored
2
.github/workflows/__build-mode-none.yml
generated
vendored
@@ -49,7 +49,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__build-mode-rollback.yml
generated
vendored
2
.github/workflows/__build-mode-rollback.yml
generated
vendored
@@ -47,7 +47,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__bundle-from-toolcache.yml
generated
vendored
2
.github/workflows/__bundle-from-toolcache.yml
generated
vendored
@@ -47,7 +47,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__bundle-toolcache.yml
generated
vendored
2
.github/workflows/__bundle-toolcache.yml
generated
vendored
@@ -51,7 +51,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__bundle-zstd.yml
generated
vendored
2
.github/workflows/__bundle-zstd.yml
generated
vendored
@@ -51,7 +51,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__cleanup-db-cluster-dir.yml
generated
vendored
2
.github/workflows/__cleanup-db-cluster-dir.yml
generated
vendored
@@ -47,7 +47,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__config-export.yml
generated
vendored
2
.github/workflows/__config-export.yml
generated
vendored
@@ -49,7 +49,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__config-input.yml
generated
vendored
2
.github/workflows/__config-input.yml
generated
vendored
@@ -47,7 +47,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Install Node.js
|
- name: Install Node.js
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
.github/workflows/__cpp-deptrace-disabled.yml
generated
vendored
2
.github/workflows/__cpp-deptrace-disabled.yml
generated
vendored
@@ -51,7 +51,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__cpp-deptrace-enabled-on-macos.yml
generated
vendored
2
.github/workflows/__cpp-deptrace-enabled-on-macos.yml
generated
vendored
@@ -49,7 +49,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__cpp-deptrace-enabled.yml
generated
vendored
2
.github/workflows/__cpp-deptrace-enabled.yml
generated
vendored
@@ -51,7 +51,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__diagnostics-export.yml
generated
vendored
2
.github/workflows/__diagnostics-export.yml
generated
vendored
@@ -49,7 +49,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__export-file-baseline-information.yml
generated
vendored
2
.github/workflows/__export-file-baseline-information.yml
generated
vendored
@@ -71,7 +71,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__extractor-ram-threads.yml
generated
vendored
2
.github/workflows/__extractor-ram-threads.yml
generated
vendored
@@ -47,7 +47,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__global-proxy.yml
generated
vendored
2
.github/workflows/__global-proxy.yml
generated
vendored
@@ -61,7 +61,7 @@ jobs:
|
|||||||
apt install -y gh
|
apt install -y gh
|
||||||
env: {}
|
env: {}
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__go-custom-queries.yml
generated
vendored
2
.github/workflows/__go-custom-queries.yml
generated
vendored
@@ -69,7 +69,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml
generated
vendored
2
.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml
generated
vendored
@@ -57,7 +57,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__go-indirect-tracing-workaround-no-file-program.yml
generated
vendored
2
.github/workflows/__go-indirect-tracing-workaround-no-file-program.yml
generated
vendored
@@ -57,7 +57,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__go-indirect-tracing-workaround.yml
generated
vendored
2
.github/workflows/__go-indirect-tracing-workaround.yml
generated
vendored
@@ -57,7 +57,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__go-tracing-autobuilder.yml
generated
vendored
2
.github/workflows/__go-tracing-autobuilder.yml
generated
vendored
@@ -91,7 +91,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__go-tracing-custom-build-steps.yml
generated
vendored
2
.github/workflows/__go-tracing-custom-build-steps.yml
generated
vendored
@@ -91,7 +91,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__go-tracing-legacy-workflow.yml
generated
vendored
2
.github/workflows/__go-tracing-legacy-workflow.yml
generated
vendored
@@ -91,7 +91,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
3
.github/workflows/__go.yml
generated
vendored
3
.github/workflows/__go.yml
generated
vendored
@@ -8,9 +8,6 @@ env:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
GO111MODULE: auto
|
GO111MODULE: auto
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
paths:
|
|
||||||
- .github/workflows/__go.yml
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
go-version:
|
go-version:
|
||||||
|
|||||||
2
.github/workflows/__init-with-registries.yml
generated
vendored
2
.github/workflows/__init-with-registries.yml
generated
vendored
@@ -52,7 +52,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__javascript-source-root.yml
generated
vendored
2
.github/workflows/__javascript-source-root.yml
generated
vendored
@@ -51,7 +51,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__job-run-uuid-sarif.yml
generated
vendored
2
.github/workflows/__job-run-uuid-sarif.yml
generated
vendored
@@ -47,7 +47,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__language-aliases.yml
generated
vendored
2
.github/workflows/__language-aliases.yml
generated
vendored
@@ -47,7 +47,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__local-bundle.yml
generated
vendored
2
.github/workflows/__local-bundle.yml
generated
vendored
@@ -77,7 +77,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__multi-language-autodetect.yml
generated
vendored
2
.github/workflows/__multi-language-autodetect.yml
generated
vendored
@@ -111,7 +111,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__overlay-init-fallback.yml
generated
vendored
2
.github/workflows/__overlay-init-fallback.yml
generated
vendored
@@ -49,7 +49,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__packaging-codescanning-config-inputs-js.yml
generated
vendored
2
.github/workflows/__packaging-codescanning-config-inputs-js.yml
generated
vendored
@@ -81,7 +81,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Install Node.js
|
- name: Install Node.js
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
.github/workflows/__packaging-config-inputs-js.yml
generated
vendored
2
.github/workflows/__packaging-config-inputs-js.yml
generated
vendored
@@ -71,7 +71,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Install Node.js
|
- name: Install Node.js
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
.github/workflows/__packaging-config-js.yml
generated
vendored
2
.github/workflows/__packaging-config-js.yml
generated
vendored
@@ -71,7 +71,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Install Node.js
|
- name: Install Node.js
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
.github/workflows/__packaging-inputs-js.yml
generated
vendored
2
.github/workflows/__packaging-inputs-js.yml
generated
vendored
@@ -71,7 +71,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Install Node.js
|
- name: Install Node.js
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
.github/workflows/__quality-queries.yml
generated
vendored
2
.github/workflows/__quality-queries.yml
generated
vendored
@@ -63,7 +63,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__remote-config.yml
generated
vendored
2
.github/workflows/__remote-config.yml
generated
vendored
@@ -79,7 +79,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__resolve-environment-action.yml
generated
vendored
2
.github/workflows/__resolve-environment-action.yml
generated
vendored
@@ -51,7 +51,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__rubocop-multi-language.yml
generated
vendored
2
.github/workflows/__rubocop-multi-language.yml
generated
vendored
@@ -47,7 +47,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__ruby.yml
generated
vendored
2
.github/workflows/__ruby.yml
generated
vendored
@@ -57,7 +57,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__rust.yml
generated
vendored
2
.github/workflows/__rust.yml
generated
vendored
@@ -55,7 +55,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__split-workflow.yml
generated
vendored
2
.github/workflows/__split-workflow.yml
generated
vendored
@@ -77,7 +77,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__start-proxy.yml
generated
vendored
2
.github/workflows/__start-proxy.yml
generated
vendored
@@ -51,7 +51,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
4
.github/workflows/__submit-sarif-failure.yml
generated
vendored
4
.github/workflows/__submit-sarif-failure.yml
generated
vendored
@@ -52,7 +52,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
@@ -60,7 +60,7 @@ jobs:
|
|||||||
version: ${{ matrix.version }}
|
version: ${{ matrix.version }}
|
||||||
use-all-platform-bundle: 'false'
|
use-all-platform-bundle: 'false'
|
||||||
setup-kotlin: 'true'
|
setup-kotlin: 'true'
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v6
|
||||||
- uses: ./init
|
- uses: ./init
|
||||||
with:
|
with:
|
||||||
languages: javascript
|
languages: javascript
|
||||||
|
|||||||
2
.github/workflows/__swift-autobuild.yml
generated
vendored
2
.github/workflows/__swift-autobuild.yml
generated
vendored
@@ -47,7 +47,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__swift-custom-build.yml
generated
vendored
2
.github/workflows/__swift-custom-build.yml
generated
vendored
@@ -71,7 +71,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__unset-environment.yml
generated
vendored
2
.github/workflows/__unset-environment.yml
generated
vendored
@@ -79,7 +79,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__upload-ref-sha-input.yml
generated
vendored
2
.github/workflows/__upload-ref-sha-input.yml
generated
vendored
@@ -77,7 +77,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/__upload-sarif.yml
generated
vendored
2
.github/workflows/__upload-sarif.yml
generated
vendored
@@ -84,7 +84,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
4
.github/workflows/__with-checkout-path.yml
generated
vendored
4
.github/workflows/__with-checkout-path.yml
generated
vendored
@@ -77,7 +77,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
@@ -107,7 +107,7 @@ jobs:
|
|||||||
rm -rf ./* .github .git
|
rm -rf ./* .github .git
|
||||||
# Check out the actions repo again, but at a different location.
|
# Check out the actions repo again, but at a different location.
|
||||||
# choose an arbitrary SHA so that we can later test that the commit_oid is not from main
|
# choose an arbitrary SHA so that we can later test that the commit_oid is not from main
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
ref: 474bbf07f9247ffe1856c6a0f94aeeb10e7afee6
|
ref: 474bbf07f9247ffe1856c6a0f94aeeb10e7afee6
|
||||||
path: x/y/z/some-path
|
path: x/y/z/some-path
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout CodeQL Action
|
- name: Checkout CodeQL Action
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Check Expected Release Files
|
- name: Check Expected Release Files
|
||||||
run: |
|
run: |
|
||||||
bundle_version="$(cat "./src/defaults.json" | jq -r ".bundleVersion")"
|
bundle_version="$(cat "./src/defaults.json" | jq -r ".bundleVersion")"
|
||||||
|
|||||||
7
.github/workflows/codeql.yml
vendored
7
.github/workflows/codeql.yml
vendored
@@ -4,7 +4,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches: [main, releases/v*]
|
branches: [main, releases/v*]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main, releases/v*]
|
|
||||||
# Run checks on reopened draft PRs to support triggering PR checks on draft PRs that were opened
|
# Run checks on reopened draft PRs to support triggering PR checks on draft PRs that were opened
|
||||||
# by other workflows.
|
# by other workflows.
|
||||||
types: [opened, synchronize, reopened, ready_for_review]
|
types: [opened, synchronize, reopened, ready_for_review]
|
||||||
@@ -32,7 +31,7 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v6
|
||||||
- name: Init with default CodeQL bundle from the VM image
|
- name: Init with default CodeQL bundle from the VM image
|
||||||
id: init-default
|
id: init-default
|
||||||
uses: ./init
|
uses: ./init
|
||||||
@@ -91,7 +90,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: ./init
|
uses: ./init
|
||||||
id: init
|
id: init
|
||||||
@@ -128,7 +127,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: ./init
|
uses: ./init
|
||||||
with:
|
with:
|
||||||
|
|||||||
24
.github/workflows/codescanning-config-cli.yml
vendored
24
.github/workflows/codescanning-config-cli.yml
vendored
@@ -53,7 +53,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
@@ -70,13 +70,33 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
version: ${{ matrix.version }}
|
version: ${{ matrix.version }}
|
||||||
|
|
||||||
- name: Empty file
|
# On PRs, overlay analysis may change the config that is passed to the CLI.
|
||||||
|
# Therefore, we have two variants of the following test, one for PRs and one for other events.
|
||||||
|
- name: Empty file (non-PR)
|
||||||
|
if: github.event_name != 'pull_request'
|
||||||
uses: ./../action/.github/actions/check-codescanning-config
|
uses: ./../action/.github/actions/check-codescanning-config
|
||||||
with:
|
with:
|
||||||
expected-config-file-contents: "{}"
|
expected-config-file-contents: "{}"
|
||||||
languages: javascript
|
languages: javascript
|
||||||
tools: ${{ steps.prepare-test.outputs.tools-url }}
|
tools: ${{ steps.prepare-test.outputs.tools-url }}
|
||||||
|
|
||||||
|
- name: Empty file (PR)
|
||||||
|
if: github.event_name == 'pull_request'
|
||||||
|
uses: ./../action/.github/actions/check-codescanning-config
|
||||||
|
with:
|
||||||
|
expected-config-file-contents: |
|
||||||
|
{
|
||||||
|
"query-filters": [
|
||||||
|
{
|
||||||
|
"exclude": {
|
||||||
|
"tags": "exclude-from-incremental"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
languages: javascript
|
||||||
|
tools: ${{ steps.prepare-test.outputs.tools-url }}
|
||||||
|
|
||||||
- name: Packs from input
|
- name: Packs from input
|
||||||
if: success() || failure()
|
if: success() || failure()
|
||||||
uses: ./../action/.github/actions/check-codescanning-config
|
uses: ./../action/.github/actions/check-codescanning-config
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ jobs:
|
|||||||
- name: Dump GitHub event
|
- name: Dump GitHub event
|
||||||
run: cat "${GITHUB_EVENT_PATH}"
|
run: cat "${GITHUB_EVENT_PATH}"
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/debug-artifacts-safe.yml
vendored
2
.github/workflows/debug-artifacts-safe.yml
vendored
@@ -41,7 +41,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
4
.github/workflows/post-release-mergeback.yml
vendored
4
.github/workflows/post-release-mergeback.yml
vendored
@@ -44,7 +44,7 @@ jobs:
|
|||||||
GITHUB_CONTEXT: '${{ toJson(github) }}'
|
GITHUB_CONTEXT: '${{ toJson(github) }}'
|
||||||
run: echo "${GITHUB_CONTEXT}"
|
run: echo "${GITHUB_CONTEXT}"
|
||||||
|
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # ensure we have all tags and can push commits
|
fetch-depth: 0 # ensure we have all tags and can push commits
|
||||||
- uses: actions/setup-node@v6
|
- uses: actions/setup-node@v6
|
||||||
@@ -142,7 +142,7 @@ jobs:
|
|||||||
token: "${{ secrets.GITHUB_TOKEN }}"
|
token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
|
||||||
- name: Generate token
|
- name: Generate token
|
||||||
uses: actions/create-github-app-token@v2.1.4
|
uses: actions/create-github-app-token@v2.2.0
|
||||||
id: app-token
|
id: app-token
|
||||||
with:
|
with:
|
||||||
app-id: ${{ vars.AUTOMATION_APP_ID }}
|
app-id: ${{ vars.AUTOMATION_APP_ID }}
|
||||||
|
|||||||
6
.github/workflows/pr-checks.yml
vendored
6
.github/workflows/pr-checks.yml
vendored
@@ -32,7 +32,7 @@ jobs:
|
|||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
run: git config --global core.autocrlf false
|
run: git config --global core.autocrlf false
|
||||||
|
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
@@ -91,7 +91,7 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v6
|
||||||
- id: head-version
|
- id: head-version
|
||||||
name: Verify all Actions use the same Node version
|
name: Verify all Actions use the same Node version
|
||||||
run: |
|
run: |
|
||||||
@@ -106,7 +106,7 @@ jobs:
|
|||||||
- id: checkout-base
|
- id: checkout-base
|
||||||
name: 'Backport: Check out base ref'
|
name: 'Backport: Check out base ref'
|
||||||
if: ${{ startsWith(github.head_ref, 'backport-') }}
|
if: ${{ startsWith(github.head_ref, 'backport-') }}
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
ref: ${{ env.BASE_REF }}
|
ref: ${{ env.BASE_REF }}
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/prepare-release.yml
vendored
2
.github/workflows/prepare-release.yml
vendored
@@ -44,7 +44,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Need full history for calculation of diffs
|
fetch-depth: 0 # Need full history for calculation of diffs
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Publish immutable release
|
- name: Publish immutable release
|
||||||
id: publish
|
id: publish
|
||||||
|
|||||||
2
.github/workflows/python312-windows.yml
vendored
2
.github/workflows/python312-windows.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: 3.12
|
python-version: 3.12
|
||||||
|
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/query-filters.yml
vendored
2
.github/workflows/query-filters.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
|||||||
contents: read # This permission is needed to allow the GitHub Actions workflow to read the contents of the repository.
|
contents: read # This permission is needed to allow the GitHub Actions workflow to read the contents of the repository.
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Install Node.js
|
- name: Install Node.js
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
|
|||||||
2
.github/workflows/rebuild.yml
vendored
2
.github/workflows/rebuild.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
|||||||
pull-requests: write # needed to comment on the PR
|
pull-requests: write # needed to comment on the PR
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: ${{ env.HEAD_REF }}
|
ref: ${{ env.HEAD_REF }}
|
||||||
|
|||||||
4
.github/workflows/rollback-release.yml
vendored
4
.github/workflows/rollback-release.yml
vendored
@@ -52,7 +52,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Need full history for calculation of diffs
|
fetch-depth: 0 # Need full history for calculation of diffs
|
||||||
|
|
||||||
@@ -137,7 +137,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Generate token
|
- name: Generate token
|
||||||
if: github.event_name == 'workflow_dispatch'
|
if: github.event_name == 'workflow_dispatch'
|
||||||
uses: actions/create-github-app-token@v2.1.4
|
uses: actions/create-github-app-token@v2.2.0
|
||||||
id: app-token
|
id: app-token
|
||||||
with:
|
with:
|
||||||
app-id: ${{ vars.AUTOMATION_APP_ID }}
|
app-id: ${{ vars.AUTOMATION_APP_ID }}
|
||||||
|
|||||||
2
.github/workflows/test-codeql-bundle-all.yml
vendored
2
.github/workflows/test-codeql-bundle-all.yml
vendored
@@ -36,7 +36,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Prepare test
|
- name: Prepare test
|
||||||
id: prepare-test
|
id: prepare-test
|
||||||
uses: ./.github/actions/prepare-test
|
uses: ./.github/actions/prepare-test
|
||||||
|
|||||||
2
.github/workflows/update-bundle.yml
vendored
2
.github/workflows/update-bundle.yml
vendored
@@ -33,7 +33,7 @@ jobs:
|
|||||||
GITHUB_CONTEXT: '${{ toJson(github) }}'
|
GITHUB_CONTEXT: '${{ toJson(github) }}'
|
||||||
run: echo "$GITHUB_CONTEXT"
|
run: echo "$GITHUB_CONTEXT"
|
||||||
|
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Update git config
|
- name: Update git config
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
6
.github/workflows/update-release-branch.yml
vendored
6
.github/workflows/update-release-branch.yml
vendored
@@ -38,7 +38,7 @@ jobs:
|
|||||||
contents: write # needed to push commits
|
contents: write # needed to push commits
|
||||||
pull-requests: write # needed to create pull request
|
pull-requests: write # needed to create pull request
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Need full history for calculation of diffs
|
fetch-depth: 0 # Need full history for calculation of diffs
|
||||||
- uses: ./.github/actions/release-initialise
|
- uses: ./.github/actions/release-initialise
|
||||||
@@ -93,14 +93,14 @@ jobs:
|
|||||||
pull-requests: write # needed to create pull request
|
pull-requests: write # needed to create pull request
|
||||||
steps:
|
steps:
|
||||||
- name: Generate token
|
- name: Generate token
|
||||||
uses: actions/create-github-app-token@v2.1.4
|
uses: actions/create-github-app-token@v2.2.0
|
||||||
id: app-token
|
id: app-token
|
||||||
with:
|
with:
|
||||||
app-id: ${{ vars.AUTOMATION_APP_ID }}
|
app-id: ${{ vars.AUTOMATION_APP_ID }}
|
||||||
private-key: ${{ secrets.AUTOMATION_PRIVATE_KEY }}
|
private-key: ${{ secrets.AUTOMATION_PRIVATE_KEY }}
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Need full history for calculation of diffs
|
fetch-depth: 0 # Need full history for calculation of diffs
|
||||||
token: ${{ steps.app-token.outputs.token }}
|
token: ${{ steps.app-token.outputs.token }}
|
||||||
|
|||||||
@@ -27,9 +27,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: "3.13"
|
python-version: "3.13"
|
||||||
- name: Checkout CodeQL Action
|
- name: Checkout CodeQL Action
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: Checkout Enterprise Releases
|
- name: Checkout Enterprise Releases
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
repository: github/enterprise-releases
|
repository: github/enterprise-releases
|
||||||
token: ${{ secrets.ENTERPRISE_RELEASE_TOKEN }}
|
token: ${{ secrets.ENTERPRISE_RELEASE_TOKEN }}
|
||||||
|
|||||||
39
CHANGELOG.md
39
CHANGELOG.md
@@ -2,44 +2,56 @@
|
|||||||
|
|
||||||
See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs.
|
See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs.
|
||||||
|
|
||||||
## [UNRELEASED]
|
## 3.31.8 - 11 Dec 2025
|
||||||
|
|
||||||
|
- Update default CodeQL bundle version to 2.23.8. [#3354](https://github.com/github/codeql-action/pull/3354)
|
||||||
|
|
||||||
|
## 3.31.7 - 05 Dec 2025
|
||||||
|
|
||||||
|
- Update default CodeQL bundle version to 2.23.7. [#3343](https://github.com/github/codeql-action/pull/3343)
|
||||||
|
|
||||||
|
## 3.31.6 - 01 Dec 2025
|
||||||
|
|
||||||
No user facing changes.
|
No user facing changes.
|
||||||
|
|
||||||
## 4.31.4 - 18 Nov 2025
|
## 3.31.5 - 24 Nov 2025
|
||||||
|
|
||||||
|
- Update default CodeQL bundle version to 2.23.6. [#3321](https://github.com/github/codeql-action/pull/3321)
|
||||||
|
|
||||||
|
## 3.31.4 - 18 Nov 2025
|
||||||
|
|
||||||
No user facing changes.
|
No user facing changes.
|
||||||
|
|
||||||
## 4.31.3 - 13 Nov 2025
|
## 3.31.3 - 13 Nov 2025
|
||||||
|
|
||||||
- CodeQL Action v3 will be deprecated in December 2026. The Action now logs a warning for customers who are running v3 but could be running v4. For more information, see [Upcoming deprecation of CodeQL Action v3](https://github.blog/changelog/2025-10-28-upcoming-deprecation-of-codeql-action-v3/).
|
- CodeQL Action v3 will be deprecated in December 2026. The Action now logs a warning for customers who are running v3 but could be running v4. For more information, see [Upcoming deprecation of CodeQL Action v3](https://github.blog/changelog/2025-10-28-upcoming-deprecation-of-codeql-action-v3/).
|
||||||
- Update default CodeQL bundle version to 2.23.5. [#3288](https://github.com/github/codeql-action/pull/3288)
|
- Update default CodeQL bundle version to 2.23.5. [#3288](https://github.com/github/codeql-action/pull/3288)
|
||||||
|
|
||||||
## 4.31.2 - 30 Oct 2025
|
## 3.31.2 - 30 Oct 2025
|
||||||
|
|
||||||
No user facing changes.
|
No user facing changes.
|
||||||
|
|
||||||
## 4.31.1 - 30 Oct 2025
|
## 3.31.1 - 30 Oct 2025
|
||||||
|
|
||||||
- The `add-snippets` input has been removed from the `analyze` action. This input has been deprecated since CodeQL Action 3.26.4 in August 2024 when this removal was announced.
|
- The `add-snippets` input has been removed from the `analyze` action. This input has been deprecated since CodeQL Action 3.26.4 in August 2024 when this removal was announced.
|
||||||
|
|
||||||
## 4.31.0 - 24 Oct 2025
|
## 3.31.0 - 24 Oct 2025
|
||||||
|
|
||||||
- Bump minimum CodeQL bundle version to 2.17.6. [#3223](https://github.com/github/codeql-action/pull/3223)
|
- Bump minimum CodeQL bundle version to 2.17.6. [#3223](https://github.com/github/codeql-action/pull/3223)
|
||||||
- When SARIF files are uploaded by the `analyze` or `upload-sarif` actions, the CodeQL Action automatically performs post-processing steps to prepare the data for the upload. Previously, these post-processing steps were only performed before an upload took place. We are now changing this so that the post-processing steps will always be performed, even when the SARIF files are not uploaded. This does not change anything for the `upload-sarif` action. For `analyze`, this may affect Advanced Setup for CodeQL users who specify a value other than `always` for the `upload` input. [#3222](https://github.com/github/codeql-action/pull/3222)
|
- When SARIF files are uploaded by the `analyze` or `upload-sarif` actions, the CodeQL Action automatically performs post-processing steps to prepare the data for the upload. Previously, these post-processing steps were only performed before an upload took place. We are now changing this so that the post-processing steps will always be performed, even when the SARIF files are not uploaded. This does not change anything for the `upload-sarif` action. For `analyze`, this may affect Advanced Setup for CodeQL users who specify a value other than `always` for the `upload` input. [#3222](https://github.com/github/codeql-action/pull/3222)
|
||||||
|
|
||||||
## 4.30.9 - 17 Oct 2025
|
## 3.30.9 - 17 Oct 2025
|
||||||
|
|
||||||
- Update default CodeQL bundle version to 2.23.3. [#3205](https://github.com/github/codeql-action/pull/3205)
|
- Update default CodeQL bundle version to 2.23.3. [#3205](https://github.com/github/codeql-action/pull/3205)
|
||||||
- Experimental: A new `setup-codeql` action has been added which is similar to `init`, except it only installs the CodeQL CLI and does not initialize a database. Do not use this in production as it is part of an internal experiment and subject to change at any time. [#3204](https://github.com/github/codeql-action/pull/3204)
|
- Experimental: A new `setup-codeql` action has been added which is similar to `init`, except it only installs the CodeQL CLI and does not initialize a database. Do not use this in production as it is part of an internal experiment and subject to change at any time. [#3204](https://github.com/github/codeql-action/pull/3204)
|
||||||
|
|
||||||
## 4.30.8 - 10 Oct 2025
|
## 3.30.8 - 10 Oct 2025
|
||||||
|
|
||||||
No user facing changes.
|
No user facing changes.
|
||||||
|
|
||||||
## 4.30.7 - 06 Oct 2025
|
## 3.30.7 - 06 Oct 2025
|
||||||
|
|
||||||
- [v4+ only] The CodeQL Action now runs on Node.js v24. [#3169](https://github.com/github/codeql-action/pull/3169)
|
No user facing changes.
|
||||||
|
|
||||||
## 3.30.6 - 02 Oct 2025
|
## 3.30.6 - 02 Oct 2025
|
||||||
|
|
||||||
@@ -275,17 +287,13 @@ No user facing changes.
|
|||||||
## 3.26.12 - 07 Oct 2024
|
## 3.26.12 - 07 Oct 2024
|
||||||
|
|
||||||
- _Upcoming breaking change_: Add a deprecation warning for customers using CodeQL version 2.14.5 and earlier. These versions of CodeQL were discontinued on 24 September 2024 alongside GitHub Enterprise Server 3.10, and will be unsupported by CodeQL Action versions 3.27.0 and later and versions 2.27.0 and later. [#2520](https://github.com/github/codeql-action/pull/2520)
|
- _Upcoming breaking change_: Add a deprecation warning for customers using CodeQL version 2.14.5 and earlier. These versions of CodeQL were discontinued on 24 September 2024 alongside GitHub Enterprise Server 3.10, and will be unsupported by CodeQL Action versions 3.27.0 and later and versions 2.27.0 and later. [#2520](https://github.com/github/codeql-action/pull/2520)
|
||||||
|
|
||||||
- If you are using one of these versions, please update to CodeQL CLI version 2.14.6 or later. For instance, if you have specified a custom version of the CLI using the 'tools' input to the 'init' Action, you can remove this input to use the default version.
|
- If you are using one of these versions, please update to CodeQL CLI version 2.14.6 or later. For instance, if you have specified a custom version of the CLI using the 'tools' input to the 'init' Action, you can remove this input to use the default version.
|
||||||
|
|
||||||
- Alternatively, if you want to continue using a version of the CodeQL CLI between 2.13.5 and 2.14.5, you can replace `github/codeql-action/*@v3` by `github/codeql-action/*@v3.26.11` and `github/codeql-action/*@v2` by `github/codeql-action/*@v2.26.11` in your code scanning workflow to ensure you continue using this version of the CodeQL Action.
|
- Alternatively, if you want to continue using a version of the CodeQL CLI between 2.13.5 and 2.14.5, you can replace `github/codeql-action/*@v3` by `github/codeql-action/*@v3.26.11` and `github/codeql-action/*@v2` by `github/codeql-action/*@v2.26.11` in your code scanning workflow to ensure you continue using this version of the CodeQL Action.
|
||||||
|
|
||||||
## 3.26.11 - 03 Oct 2024
|
## 3.26.11 - 03 Oct 2024
|
||||||
|
|
||||||
- _Upcoming breaking change_: Add support for using `actions/download-artifact@v4` to programmatically consume CodeQL Action debug artifacts.
|
- _Upcoming breaking change_: Add support for using `actions/download-artifact@v4` to programmatically consume CodeQL Action debug artifacts.
|
||||||
|
|
||||||
Starting November 30, 2024, GitHub.com customers will [no longer be able to use `actions/download-artifact@v3`](https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/). Therefore, to avoid breakage, customers who programmatically download the CodeQL Action debug artifacts should set the `CODEQL_ACTION_ARTIFACT_V4_UPGRADE` environment variable to `true` and bump `actions/download-artifact@v3` to `actions/download-artifact@v4` in their workflows. The CodeQL Action will enable this behavior by default in early November and workflows that have not yet bumped `actions/download-artifact@v3` to `actions/download-artifact@v4` will begin failing then.
|
Starting November 30, 2024, GitHub.com customers will [no longer be able to use `actions/download-artifact@v3`](https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/). Therefore, to avoid breakage, customers who programmatically download the CodeQL Action debug artifacts should set the `CODEQL_ACTION_ARTIFACT_V4_UPGRADE` environment variable to `true` and bump `actions/download-artifact@v3` to `actions/download-artifact@v4` in their workflows. The CodeQL Action will enable this behavior by default in early November and workflows that have not yet bumped `actions/download-artifact@v3` to `actions/download-artifact@v4` will begin failing then.
|
||||||
|
|
||||||
This change is currently unavailable for GitHub Enterprise Server customers, as `actions/upload-artifact@v4` and `actions/download-artifact@v4` are not yet compatible with GHES.
|
This change is currently unavailable for GitHub Enterprise Server customers, as `actions/upload-artifact@v4` and `actions/download-artifact@v4` are not yet compatible with GHES.
|
||||||
- Update default CodeQL bundle version to 2.19.1. [#2519](https://github.com/github/codeql-action/pull/2519)
|
- Update default CodeQL bundle version to 2.19.1. [#2519](https://github.com/github/codeql-action/pull/2519)
|
||||||
|
|
||||||
@@ -408,12 +416,9 @@ No user facing changes.
|
|||||||
## 3.25.0 - 15 Apr 2024
|
## 3.25.0 - 15 Apr 2024
|
||||||
|
|
||||||
- The deprecated feature for extracting dependencies for a Python analysis has been removed. [#2224](https://github.com/github/codeql-action/pull/2224)
|
- The deprecated feature for extracting dependencies for a Python analysis has been removed. [#2224](https://github.com/github/codeql-action/pull/2224)
|
||||||
|
|
||||||
As a result, the following inputs and environment variables are now ignored:
|
As a result, the following inputs and environment variables are now ignored:
|
||||||
|
|
||||||
- The `setup-python-dependencies` input to the `init` Action
|
- The `setup-python-dependencies` input to the `init` Action
|
||||||
- The `CODEQL_ACTION_DISABLE_PYTHON_DEPENDENCY_INSTALLATION` environment variable
|
- The `CODEQL_ACTION_DISABLE_PYTHON_DEPENDENCY_INSTALLATION` environment variable
|
||||||
|
|
||||||
We recommend removing any references to these from your workflows. For more information, see the release notes for CodeQL Action v3.23.0 and v2.23.0.
|
We recommend removing any references to these from your workflows. For more information, see the release notes for CodeQL Action v3.23.0 and v2.23.0.
|
||||||
- Automatically overwrite an existing database if found on the filesystem. [#2229](https://github.com/github/codeql-action/pull/2229)
|
- Automatically overwrite an existing database if found on the filesystem. [#2229](https://github.com/github/codeql-action/pull/2229)
|
||||||
- Bump the minimum CodeQL bundle version to 2.12.6. [#2232](https://github.com/github/codeql-action/pull/2232)
|
- Bump the minimum CodeQL bundle version to 2.12.6. [#2232](https://github.com/github/codeql-action/pull/2232)
|
||||||
|
|||||||
@@ -94,6 +94,6 @@ outputs:
|
|||||||
sarif-id:
|
sarif-id:
|
||||||
description: The ID of the uploaded SARIF file.
|
description: The ID of the uploaded SARIF file.
|
||||||
runs:
|
runs:
|
||||||
using: node24
|
using: node20
|
||||||
main: "../lib/analyze-action.js"
|
main: "../lib/analyze-action.js"
|
||||||
post: "../lib/analyze-action-post.js"
|
post: "../lib/analyze-action-post.js"
|
||||||
|
|||||||
@@ -15,5 +15,5 @@ inputs:
|
|||||||
$GITHUB_WORKSPACE as its working directory.
|
$GITHUB_WORKSPACE as its working directory.
|
||||||
required: false
|
required: false
|
||||||
runs:
|
runs:
|
||||||
using: node24
|
using: node20
|
||||||
main: '../lib/autobuild-action.js'
|
main: '../lib/autobuild-action.js'
|
||||||
|
|||||||
@@ -165,6 +165,6 @@ outputs:
|
|||||||
codeql-version:
|
codeql-version:
|
||||||
description: The version of the CodeQL binary used for analysis
|
description: The version of the CodeQL binary used for analysis
|
||||||
runs:
|
runs:
|
||||||
using: node24
|
using: node20
|
||||||
main: '../lib/init-action.js'
|
main: '../lib/init-action.js'
|
||||||
post: '../lib/init-action-post.js'
|
post: '../lib/init-action-post.js'
|
||||||
|
|||||||
66
lib/analyze-action-post.js
generated
66
lib/analyze-action-post.js
generated
@@ -27627,7 +27627,7 @@ var require_package = __commonJS({
|
|||||||
"package.json"(exports2, module2) {
|
"package.json"(exports2, module2) {
|
||||||
module2.exports = {
|
module2.exports = {
|
||||||
name: "codeql",
|
name: "codeql",
|
||||||
version: "4.31.5",
|
version: "3.31.8",
|
||||||
private: true,
|
private: true,
|
||||||
description: "CodeQL action",
|
description: "CodeQL action",
|
||||||
scripts: {
|
scripts: {
|
||||||
@@ -27670,14 +27670,14 @@ var require_package = __commonJS({
|
|||||||
"js-yaml": "^4.1.1",
|
"js-yaml": "^4.1.1",
|
||||||
jsonschema: "1.4.1",
|
jsonschema: "1.4.1",
|
||||||
long: "^5.3.2",
|
long: "^5.3.2",
|
||||||
"node-forge": "^1.3.1",
|
"node-forge": "^1.3.2",
|
||||||
semver: "^7.7.3",
|
semver: "^7.7.3",
|
||||||
uuid: "^13.0.0"
|
uuid: "^13.0.0"
|
||||||
},
|
},
|
||||||
devDependencies: {
|
devDependencies: {
|
||||||
"@ava/typescript": "6.0.0",
|
"@ava/typescript": "6.0.0",
|
||||||
"@eslint/compat": "^2.0.0",
|
"@eslint/compat": "^2.0.0",
|
||||||
"@eslint/eslintrc": "^3.3.1",
|
"@eslint/eslintrc": "^3.3.3",
|
||||||
"@eslint/js": "^9.39.1",
|
"@eslint/js": "^9.39.1",
|
||||||
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
||||||
"@octokit/types": "^16.0.0",
|
"@octokit/types": "^16.0.0",
|
||||||
@@ -27688,8 +27688,8 @@ var require_package = __commonJS({
|
|||||||
"@types/node-forge": "^1.3.14",
|
"@types/node-forge": "^1.3.14",
|
||||||
"@types/semver": "^7.7.1",
|
"@types/semver": "^7.7.1",
|
||||||
"@types/sinon": "^21.0.0",
|
"@types/sinon": "^21.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.46.4",
|
"@typescript-eslint/eslint-plugin": "^8.48.0",
|
||||||
"@typescript-eslint/parser": "^8.41.0",
|
"@typescript-eslint/parser": "^8.48.0",
|
||||||
ava: "^6.4.1",
|
ava: "^6.4.1",
|
||||||
esbuild: "^0.27.0",
|
esbuild: "^0.27.0",
|
||||||
eslint: "^8.57.1",
|
eslint: "^8.57.1",
|
||||||
@@ -27697,7 +27697,7 @@ var require_package = __commonJS({
|
|||||||
"eslint-plugin-filenames": "^1.3.2",
|
"eslint-plugin-filenames": "^1.3.2",
|
||||||
"eslint-plugin-github": "^5.1.8",
|
"eslint-plugin-github": "^5.1.8",
|
||||||
"eslint-plugin-import": "2.29.1",
|
"eslint-plugin-import": "2.29.1",
|
||||||
"eslint-plugin-jsdoc": "^61.2.1",
|
"eslint-plugin-jsdoc": "^61.4.1",
|
||||||
"eslint-plugin-no-async-foreach": "^0.1.1",
|
"eslint-plugin-no-async-foreach": "^0.1.1",
|
||||||
glob: "^11.1.0",
|
glob: "^11.1.0",
|
||||||
nock: "^14.0.10",
|
nock: "^14.0.10",
|
||||||
@@ -119201,7 +119201,7 @@ var safeDump = renamed("safeDump", "dump");
|
|||||||
var semver = __toESM(require_semver2());
|
var semver = __toESM(require_semver2());
|
||||||
|
|
||||||
// src/api-compatibility.json
|
// src/api-compatibility.json
|
||||||
var maximumVersion = "3.19";
|
var maximumVersion = "3.20";
|
||||||
var minimumVersion = "3.14";
|
var minimumVersion = "3.14";
|
||||||
|
|
||||||
// src/util.ts
|
// src/util.ts
|
||||||
@@ -120038,6 +120038,11 @@ var featureConfig = {
|
|||||||
legacyApi: true,
|
legacyApi: true,
|
||||||
minimumVersion: "2.15.0"
|
minimumVersion: "2.15.0"
|
||||||
},
|
},
|
||||||
|
["csharp_cache_bmn" /* CsharpCacheBuildModeNone */]: {
|
||||||
|
defaultValue: false,
|
||||||
|
envVar: "CODEQL_ACTION_CSHARP_CACHE_BMN",
|
||||||
|
minimumVersion: void 0
|
||||||
|
},
|
||||||
["csharp_new_cache_key" /* CsharpNewCacheKey */]: {
|
["csharp_new_cache_key" /* CsharpNewCacheKey */]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
envVar: "CODEQL_ACTION_CSHARP_NEW_CACHE_KEY",
|
envVar: "CODEQL_ACTION_CSHARP_NEW_CACHE_KEY",
|
||||||
@@ -120176,6 +120181,11 @@ var featureConfig = {
|
|||||||
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_RUST",
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_RUST",
|
||||||
minimumVersion: void 0
|
minimumVersion: void 0
|
||||||
},
|
},
|
||||||
|
["overlay_analysis_skip_resource_checks" /* OverlayAnalysisSkipResourceChecks */]: {
|
||||||
|
defaultValue: false,
|
||||||
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SKIP_RESOURCE_CHECKS",
|
||||||
|
minimumVersion: void 0
|
||||||
|
},
|
||||||
["overlay_analysis_swift" /* OverlayAnalysisSwift */]: {
|
["overlay_analysis_swift" /* OverlayAnalysisSwift */]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SWIFT",
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SWIFT",
|
||||||
@@ -120216,6 +120226,7 @@ var actionsCache2 = __toESM(require_cache3());
|
|||||||
// src/config-utils.ts
|
// src/config-utils.ts
|
||||||
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB = 2e4;
|
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB = 2e4;
|
||||||
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_BYTES = OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB * 1e6;
|
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_BYTES = OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB * 1e6;
|
||||||
|
var OVERLAY_MINIMUM_MEMORY_MB = 5 * 1024;
|
||||||
var OVERLAY_ANALYSIS_FEATURES = {
|
var OVERLAY_ANALYSIS_FEATURES = {
|
||||||
actions: "overlay_analysis_actions" /* OverlayAnalysisActions */,
|
actions: "overlay_analysis_actions" /* OverlayAnalysisActions */,
|
||||||
cpp: "overlay_analysis_cpp" /* OverlayAnalysisCpp */,
|
cpp: "overlay_analysis_cpp" /* OverlayAnalysisCpp */,
|
||||||
@@ -120724,6 +120735,23 @@ ${output}`
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
async resolveDatabase(databasePath) {
|
||||||
|
const codeqlArgs = [
|
||||||
|
"resolve",
|
||||||
|
"database",
|
||||||
|
databasePath,
|
||||||
|
"--format=json",
|
||||||
|
...getExtraOptionsFromEnv(["resolve", "database"])
|
||||||
|
];
|
||||||
|
const output = await runCli(cmd, codeqlArgs, { noStreamStdout: true });
|
||||||
|
try {
|
||||||
|
return JSON.parse(output);
|
||||||
|
} catch (e) {
|
||||||
|
throw new Error(
|
||||||
|
`Unexpected output from codeql resolve database --format=json: ${e}`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
},
|
||||||
async mergeResults(sarifFiles, outputFile, {
|
async mergeResults(sarifFiles, outputFile, {
|
||||||
mergeRunsFromEqualCategory = false
|
mergeRunsFromEqualCategory = false
|
||||||
}) {
|
}) {
|
||||||
@@ -120880,6 +120908,9 @@ var glob = __toESM(require_glob3());
|
|||||||
function getJavaTempDependencyDir() {
|
function getJavaTempDependencyDir() {
|
||||||
return (0, import_path.join)(getTemporaryDirectory(), "codeql_java", "repository");
|
return (0, import_path.join)(getTemporaryDirectory(), "codeql_java", "repository");
|
||||||
}
|
}
|
||||||
|
function getCsharpTempDependencyDir() {
|
||||||
|
return (0, import_path.join)(getTemporaryDirectory(), "codeql_csharp", "repository");
|
||||||
|
}
|
||||||
|
|
||||||
// src/debug-artifacts.ts
|
// src/debug-artifacts.ts
|
||||||
function sanitizeArtifactName(name) {
|
function sanitizeArtifactName(name) {
|
||||||
@@ -121000,14 +121031,19 @@ async function runWrapper() {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const javaTempDependencyDir = getJavaTempDependencyDir();
|
const tempDependencyDirs = [
|
||||||
if (fs6.existsSync(javaTempDependencyDir)) {
|
getJavaTempDependencyDir(),
|
||||||
try {
|
getCsharpTempDependencyDir()
|
||||||
fs6.rmSync(javaTempDependencyDir, { recursive: true });
|
];
|
||||||
} catch (error3) {
|
for (const tempDependencyDir of tempDependencyDirs) {
|
||||||
logger.info(
|
if (fs6.existsSync(tempDependencyDir)) {
|
||||||
`Failed to remove temporary Java dependencies directory: ${getErrorMessage(error3)}`
|
try {
|
||||||
);
|
fs6.rmSync(tempDependencyDir, { recursive: true });
|
||||||
|
} catch (error3) {
|
||||||
|
logger.info(
|
||||||
|
`Failed to remove temporary dependencies directory: ${getErrorMessage(error3)}`
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (error3) {
|
} catch (error3) {
|
||||||
|
|||||||
110
lib/analyze-action.js
generated
110
lib/analyze-action.js
generated
@@ -27627,7 +27627,7 @@ var require_package = __commonJS({
|
|||||||
"package.json"(exports2, module2) {
|
"package.json"(exports2, module2) {
|
||||||
module2.exports = {
|
module2.exports = {
|
||||||
name: "codeql",
|
name: "codeql",
|
||||||
version: "4.31.5",
|
version: "3.31.8",
|
||||||
private: true,
|
private: true,
|
||||||
description: "CodeQL action",
|
description: "CodeQL action",
|
||||||
scripts: {
|
scripts: {
|
||||||
@@ -27670,14 +27670,14 @@ var require_package = __commonJS({
|
|||||||
"js-yaml": "^4.1.1",
|
"js-yaml": "^4.1.1",
|
||||||
jsonschema: "1.4.1",
|
jsonschema: "1.4.1",
|
||||||
long: "^5.3.2",
|
long: "^5.3.2",
|
||||||
"node-forge": "^1.3.1",
|
"node-forge": "^1.3.2",
|
||||||
semver: "^7.7.3",
|
semver: "^7.7.3",
|
||||||
uuid: "^13.0.0"
|
uuid: "^13.0.0"
|
||||||
},
|
},
|
||||||
devDependencies: {
|
devDependencies: {
|
||||||
"@ava/typescript": "6.0.0",
|
"@ava/typescript": "6.0.0",
|
||||||
"@eslint/compat": "^2.0.0",
|
"@eslint/compat": "^2.0.0",
|
||||||
"@eslint/eslintrc": "^3.3.1",
|
"@eslint/eslintrc": "^3.3.3",
|
||||||
"@eslint/js": "^9.39.1",
|
"@eslint/js": "^9.39.1",
|
||||||
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
||||||
"@octokit/types": "^16.0.0",
|
"@octokit/types": "^16.0.0",
|
||||||
@@ -27688,8 +27688,8 @@ var require_package = __commonJS({
|
|||||||
"@types/node-forge": "^1.3.14",
|
"@types/node-forge": "^1.3.14",
|
||||||
"@types/semver": "^7.7.1",
|
"@types/semver": "^7.7.1",
|
||||||
"@types/sinon": "^21.0.0",
|
"@types/sinon": "^21.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.46.4",
|
"@typescript-eslint/eslint-plugin": "^8.48.0",
|
||||||
"@typescript-eslint/parser": "^8.41.0",
|
"@typescript-eslint/parser": "^8.48.0",
|
||||||
ava: "^6.4.1",
|
ava: "^6.4.1",
|
||||||
esbuild: "^0.27.0",
|
esbuild: "^0.27.0",
|
||||||
eslint: "^8.57.1",
|
eslint: "^8.57.1",
|
||||||
@@ -27697,7 +27697,7 @@ var require_package = __commonJS({
|
|||||||
"eslint-plugin-filenames": "^1.3.2",
|
"eslint-plugin-filenames": "^1.3.2",
|
||||||
"eslint-plugin-github": "^5.1.8",
|
"eslint-plugin-github": "^5.1.8",
|
||||||
"eslint-plugin-import": "2.29.1",
|
"eslint-plugin-import": "2.29.1",
|
||||||
"eslint-plugin-jsdoc": "^61.2.1",
|
"eslint-plugin-jsdoc": "^61.4.1",
|
||||||
"eslint-plugin-no-async-foreach": "^0.1.1",
|
"eslint-plugin-no-async-foreach": "^0.1.1",
|
||||||
glob: "^11.1.0",
|
glob: "^11.1.0",
|
||||||
nock: "^14.0.10",
|
nock: "^14.0.10",
|
||||||
@@ -87093,7 +87093,7 @@ function getCgroupMemoryLimitBytes(limitFile, logger) {
|
|||||||
);
|
);
|
||||||
return limit;
|
return limit;
|
||||||
}
|
}
|
||||||
function getMemoryFlagValue(userInput, logger) {
|
function getCodeQLMemoryLimit(userInput, logger) {
|
||||||
return getMemoryFlagValueForPlatform(
|
return getMemoryFlagValueForPlatform(
|
||||||
userInput,
|
userInput,
|
||||||
getTotalMemoryBytes(logger),
|
getTotalMemoryBytes(logger),
|
||||||
@@ -87101,7 +87101,7 @@ function getMemoryFlagValue(userInput, logger) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
function getMemoryFlag(userInput, logger) {
|
function getMemoryFlag(userInput, logger) {
|
||||||
const megabytes = getMemoryFlagValue(userInput, logger);
|
const megabytes = getCodeQLMemoryLimit(userInput, logger);
|
||||||
return `--ram=${megabytes}`;
|
return `--ram=${megabytes}`;
|
||||||
}
|
}
|
||||||
function getThreadsFlagValue(userInput, logger) {
|
function getThreadsFlagValue(userInput, logger) {
|
||||||
@@ -88211,8 +88211,8 @@ var path4 = __toESM(require("path"));
|
|||||||
var semver4 = __toESM(require_semver2());
|
var semver4 = __toESM(require_semver2());
|
||||||
|
|
||||||
// src/defaults.json
|
// src/defaults.json
|
||||||
var bundleVersion = "codeql-bundle-v2.23.5";
|
var bundleVersion = "codeql-bundle-v2.23.8";
|
||||||
var cliVersion = "2.23.5";
|
var cliVersion = "2.23.8";
|
||||||
|
|
||||||
// src/overlay-database-utils.ts
|
// src/overlay-database-utils.ts
|
||||||
var fs3 = __toESM(require("fs"));
|
var fs3 = __toESM(require("fs"));
|
||||||
@@ -88512,7 +88512,7 @@ function computeChangedFiles(baseFileOids, overlayFileOids) {
|
|||||||
var CACHE_VERSION = 1;
|
var CACHE_VERSION = 1;
|
||||||
var CACHE_PREFIX = "codeql-overlay-base-database";
|
var CACHE_PREFIX = "codeql-overlay-base-database";
|
||||||
var MAX_CACHE_OPERATION_MS = 6e5;
|
var MAX_CACHE_OPERATION_MS = 6e5;
|
||||||
function checkOverlayBaseDatabase(config, logger, warningPrefix) {
|
async function checkOverlayBaseDatabase(codeql, config, logger, warningPrefix) {
|
||||||
const baseDatabaseOidsFilePath = getBaseDatabaseOidsFilePath(config);
|
const baseDatabaseOidsFilePath = getBaseDatabaseOidsFilePath(config);
|
||||||
if (!fs3.existsSync(baseDatabaseOidsFilePath)) {
|
if (!fs3.existsSync(baseDatabaseOidsFilePath)) {
|
||||||
logger.warning(
|
logger.warning(
|
||||||
@@ -88520,6 +88520,23 @@ function checkOverlayBaseDatabase(config, logger, warningPrefix) {
|
|||||||
);
|
);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
for (const language of config.languages) {
|
||||||
|
const dbPath = getCodeQLDatabasePath(config, language);
|
||||||
|
try {
|
||||||
|
const resolveDatabaseOutput = await codeql.resolveDatabase(dbPath);
|
||||||
|
if (resolveDatabaseOutput === void 0 || !("overlayBaseSpecifier" in resolveDatabaseOutput)) {
|
||||||
|
logger.info(`${warningPrefix}: no overlayBaseSpecifier defined`);
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
|
logger.debug(
|
||||||
|
`Overlay base specifier for ${language} overlay-base database found: ${resolveDatabaseOutput.overlayBaseSpecifier}`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
} catch (e) {
|
||||||
|
logger.warning(`${warningPrefix}: failed to resolve database: ${e}`);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
async function cleanupAndUploadOverlayBaseDatabaseToCache(codeql, config, logger) {
|
async function cleanupAndUploadOverlayBaseDatabaseToCache(codeql, config, logger) {
|
||||||
@@ -88542,7 +88559,8 @@ async function cleanupAndUploadOverlayBaseDatabaseToCache(codeql, config, logger
|
|||||||
);
|
);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
const databaseIsValid = checkOverlayBaseDatabase(
|
const databaseIsValid = await checkOverlayBaseDatabase(
|
||||||
|
codeql,
|
||||||
config,
|
config,
|
||||||
logger,
|
logger,
|
||||||
"Abort uploading overlay-base database to cache"
|
"Abort uploading overlay-base database to cache"
|
||||||
@@ -88659,6 +88677,11 @@ var featureConfig = {
|
|||||||
legacyApi: true,
|
legacyApi: true,
|
||||||
minimumVersion: "2.15.0"
|
minimumVersion: "2.15.0"
|
||||||
},
|
},
|
||||||
|
["csharp_cache_bmn" /* CsharpCacheBuildModeNone */]: {
|
||||||
|
defaultValue: false,
|
||||||
|
envVar: "CODEQL_ACTION_CSHARP_CACHE_BMN",
|
||||||
|
minimumVersion: void 0
|
||||||
|
},
|
||||||
["csharp_new_cache_key" /* CsharpNewCacheKey */]: {
|
["csharp_new_cache_key" /* CsharpNewCacheKey */]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
envVar: "CODEQL_ACTION_CSHARP_NEW_CACHE_KEY",
|
envVar: "CODEQL_ACTION_CSHARP_NEW_CACHE_KEY",
|
||||||
@@ -88797,6 +88820,11 @@ var featureConfig = {
|
|||||||
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_RUST",
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_RUST",
|
||||||
minimumVersion: void 0
|
minimumVersion: void 0
|
||||||
},
|
},
|
||||||
|
["overlay_analysis_skip_resource_checks" /* OverlayAnalysisSkipResourceChecks */]: {
|
||||||
|
defaultValue: false,
|
||||||
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SKIP_RESOURCE_CHECKS",
|
||||||
|
minimumVersion: void 0
|
||||||
|
},
|
||||||
["overlay_analysis_swift" /* OverlayAnalysisSwift */]: {
|
["overlay_analysis_swift" /* OverlayAnalysisSwift */]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SWIFT",
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SWIFT",
|
||||||
@@ -89375,6 +89403,7 @@ async function cachePrefix(codeql, language) {
|
|||||||
// src/config-utils.ts
|
// src/config-utils.ts
|
||||||
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB = 2e4;
|
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB = 2e4;
|
||||||
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_BYTES = OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB * 1e6;
|
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_BYTES = OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB * 1e6;
|
||||||
|
var OVERLAY_MINIMUM_MEMORY_MB = 5 * 1024;
|
||||||
var OVERLAY_ANALYSIS_FEATURES = {
|
var OVERLAY_ANALYSIS_FEATURES = {
|
||||||
actions: "overlay_analysis_actions" /* OverlayAnalysisActions */,
|
actions: "overlay_analysis_actions" /* OverlayAnalysisActions */,
|
||||||
cpp: "overlay_analysis_cpp" /* OverlayAnalysisCpp */,
|
cpp: "overlay_analysis_cpp" /* OverlayAnalysisCpp */,
|
||||||
@@ -90876,6 +90905,23 @@ ${output}`
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
async resolveDatabase(databasePath) {
|
||||||
|
const codeqlArgs = [
|
||||||
|
"resolve",
|
||||||
|
"database",
|
||||||
|
databasePath,
|
||||||
|
"--format=json",
|
||||||
|
...getExtraOptionsFromEnv(["resolve", "database"])
|
||||||
|
];
|
||||||
|
const output = await runCli(cmd, codeqlArgs, { noStreamStdout: true });
|
||||||
|
try {
|
||||||
|
return JSON.parse(output);
|
||||||
|
} catch (e) {
|
||||||
|
throw new Error(
|
||||||
|
`Unexpected output from codeql resolve database --format=json: ${e}`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
},
|
||||||
async mergeResults(sarifFiles, outputFile, {
|
async mergeResults(sarifFiles, outputFile, {
|
||||||
mergeRunsFromEqualCategory = false
|
mergeRunsFromEqualCategory = false
|
||||||
}) {
|
}) {
|
||||||
@@ -91067,7 +91113,7 @@ var CODEQL_DEPENDENCY_CACHE_VERSION = 1;
|
|||||||
function getJavaTempDependencyDir() {
|
function getJavaTempDependencyDir() {
|
||||||
return (0, import_path.join)(getTemporaryDirectory(), "codeql_java", "repository");
|
return (0, import_path.join)(getTemporaryDirectory(), "codeql_java", "repository");
|
||||||
}
|
}
|
||||||
function getJavaDependencyDirs() {
|
async function getJavaDependencyDirs() {
|
||||||
return [
|
return [
|
||||||
// Maven
|
// Maven
|
||||||
(0, import_path.join)(os3.homedir(), ".m2", "repository"),
|
(0, import_path.join)(os3.homedir(), ".m2", "repository"),
|
||||||
@@ -91077,6 +91123,19 @@ function getJavaDependencyDirs() {
|
|||||||
getJavaTempDependencyDir()
|
getJavaTempDependencyDir()
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
function getCsharpTempDependencyDir() {
|
||||||
|
return (0, import_path.join)(getTemporaryDirectory(), "codeql_csharp", "repository");
|
||||||
|
}
|
||||||
|
async function getCsharpDependencyDirs(codeql, features) {
|
||||||
|
const dirs = [
|
||||||
|
// Nuget
|
||||||
|
(0, import_path.join)(os3.homedir(), ".nuget", "packages")
|
||||||
|
];
|
||||||
|
if (await features.getValue("csharp_cache_bmn" /* CsharpCacheBuildModeNone */, codeql)) {
|
||||||
|
dirs.push(getCsharpTempDependencyDir());
|
||||||
|
}
|
||||||
|
return dirs;
|
||||||
|
}
|
||||||
async function makePatternCheck(patterns) {
|
async function makePatternCheck(patterns) {
|
||||||
const globber = await makeGlobber(patterns);
|
const globber = await makeGlobber(patterns);
|
||||||
if ((await globber.glob()).length === 0) {
|
if ((await globber.glob()).length === 0) {
|
||||||
@@ -91121,11 +91180,11 @@ var defaultCacheConfigs = {
|
|||||||
])
|
])
|
||||||
},
|
},
|
||||||
csharp: {
|
csharp: {
|
||||||
getDependencyPaths: () => [(0, import_path.join)(os3.homedir(), ".nuget", "packages")],
|
getDependencyPaths: getCsharpDependencyDirs,
|
||||||
getHashPatterns: getCsharpHashPatterns
|
getHashPatterns: getCsharpHashPatterns
|
||||||
},
|
},
|
||||||
go: {
|
go: {
|
||||||
getDependencyPaths: () => [(0, import_path.join)(os3.homedir(), "go", "pkg", "mod")],
|
getDependencyPaths: async () => [(0, import_path.join)(os3.homedir(), "go", "pkg", "mod")],
|
||||||
getHashPatterns: async () => internal.makePatternCheck(["**/go.sum"])
|
getHashPatterns: async () => internal.makePatternCheck(["**/go.sum"])
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -91169,7 +91228,7 @@ async function uploadDependencyCaches(codeql, features, config, logger) {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
const size = await getTotalCacheSize(
|
const size = await getTotalCacheSize(
|
||||||
cacheConfig.getDependencyPaths(),
|
await cacheConfig.getDependencyPaths(codeql, features),
|
||||||
logger,
|
logger,
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
@@ -91185,7 +91244,10 @@ async function uploadDependencyCaches(codeql, features, config, logger) {
|
|||||||
);
|
);
|
||||||
try {
|
try {
|
||||||
const start = performance.now();
|
const start = performance.now();
|
||||||
await actionsCache3.saveCache(cacheConfig.getDependencyPaths(), key);
|
await actionsCache3.saveCache(
|
||||||
|
await cacheConfig.getDependencyPaths(codeql, features),
|
||||||
|
key
|
||||||
|
);
|
||||||
const upload_duration_ms = Math.round(performance.now() - start);
|
const upload_duration_ms = Math.round(performance.now() - start);
|
||||||
status.push({
|
status.push({
|
||||||
language,
|
language,
|
||||||
@@ -91228,6 +91290,7 @@ async function getFeaturePrefix(codeql, features, language) {
|
|||||||
}
|
}
|
||||||
} else if (language === "csharp" /* csharp */) {
|
} else if (language === "csharp" /* csharp */) {
|
||||||
await addFeatureIfEnabled("csharp_new_cache_key" /* CsharpNewCacheKey */);
|
await addFeatureIfEnabled("csharp_new_cache_key" /* CsharpNewCacheKey */);
|
||||||
|
await addFeatureIfEnabled("csharp_cache_bmn" /* CsharpCacheBuildModeNone */);
|
||||||
}
|
}
|
||||||
if (enabledFeatures.length > 0) {
|
if (enabledFeatures.length > 0) {
|
||||||
return `${createCacheKeyHash(enabledFeatures)}-`;
|
return `${createCacheKeyHash(enabledFeatures)}-`;
|
||||||
@@ -91317,7 +91380,7 @@ async function setupPythonExtractor(logger) {
|
|||||||
);
|
);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
async function runExtraction(codeql, config, logger) {
|
async function runExtraction(codeql, features, config, logger) {
|
||||||
for (const language of config.languages) {
|
for (const language of config.languages) {
|
||||||
if (dbIsFinalized(config, language, logger)) {
|
if (dbIsFinalized(config, language, logger)) {
|
||||||
logger.debug(
|
logger.debug(
|
||||||
@@ -91337,6 +91400,9 @@ async function runExtraction(codeql, config, logger) {
|
|||||||
if (language === "java" /* java */ && config.buildMode === "none" /* None */) {
|
if (language === "java" /* java */ && config.buildMode === "none" /* None */) {
|
||||||
process.env["CODEQL_EXTRACTOR_JAVA_OPTION_BUILDLESS_DEPENDENCY_DIR"] = getJavaTempDependencyDir();
|
process.env["CODEQL_EXTRACTOR_JAVA_OPTION_BUILDLESS_DEPENDENCY_DIR"] = getJavaTempDependencyDir();
|
||||||
}
|
}
|
||||||
|
if (language === "csharp" /* csharp */ && config.buildMode === "none" /* None */ && await features.getValue("csharp_cache_bmn" /* CsharpCacheBuildModeNone */)) {
|
||||||
|
process.env["CODEQL_EXTRACTOR_CSHARP_OPTION_BUILDLESS_DEPENDENCY_DIR"] = getCsharpTempDependencyDir();
|
||||||
|
}
|
||||||
await codeql.extractUsingBuildMode(config, language);
|
await codeql.extractUsingBuildMode(config, language);
|
||||||
} else {
|
} else {
|
||||||
await codeql.extractScannedLanguage(config, language);
|
await codeql.extractScannedLanguage(config, language);
|
||||||
@@ -91362,9 +91428,9 @@ function dbIsFinalized(config, language, logger) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
async function finalizeDatabaseCreation(codeql, config, threadsFlag, memoryFlag, logger) {
|
async function finalizeDatabaseCreation(codeql, features, config, threadsFlag, memoryFlag, logger) {
|
||||||
const extractionStart = import_perf_hooks2.performance.now();
|
const extractionStart = import_perf_hooks2.performance.now();
|
||||||
await runExtraction(codeql, config, logger);
|
await runExtraction(codeql, features, config, logger);
|
||||||
const extractionTime = import_perf_hooks2.performance.now() - extractionStart;
|
const extractionTime = import_perf_hooks2.performance.now() - extractionStart;
|
||||||
const trapImportStart = import_perf_hooks2.performance.now();
|
const trapImportStart = import_perf_hooks2.performance.now();
|
||||||
for (const language of config.languages) {
|
for (const language of config.languages) {
|
||||||
@@ -91619,7 +91685,7 @@ async function runQueries(sarifFolder, memoryFlag, threadsFlag, diffRangePackDir
|
|||||||
return perQueryAlertCounts;
|
return perQueryAlertCounts;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
async function runFinalize(outputDir, threadsFlag, memoryFlag, codeql, config, logger) {
|
async function runFinalize(features, outputDir, threadsFlag, memoryFlag, codeql, config, logger) {
|
||||||
try {
|
try {
|
||||||
await fs12.promises.rm(outputDir, { force: true, recursive: true });
|
await fs12.promises.rm(outputDir, { force: true, recursive: true });
|
||||||
} catch (error3) {
|
} catch (error3) {
|
||||||
@@ -91630,6 +91696,7 @@ async function runFinalize(outputDir, threadsFlag, memoryFlag, codeql, config, l
|
|||||||
await fs12.promises.mkdir(outputDir, { recursive: true });
|
await fs12.promises.mkdir(outputDir, { recursive: true });
|
||||||
const timings = await finalizeDatabaseCreation(
|
const timings = await finalizeDatabaseCreation(
|
||||||
codeql,
|
codeql,
|
||||||
|
features,
|
||||||
config,
|
config,
|
||||||
threadsFlag,
|
threadsFlag,
|
||||||
memoryFlag,
|
memoryFlag,
|
||||||
@@ -93965,6 +94032,7 @@ async function run() {
|
|||||||
await warnIfGoInstalledAfterInit(config, logger);
|
await warnIfGoInstalledAfterInit(config, logger);
|
||||||
await runAutobuildIfLegacyGoWorkflow(config, logger);
|
await runAutobuildIfLegacyGoWorkflow(config, logger);
|
||||||
dbCreationTimings = await runFinalize(
|
dbCreationTimings = await runFinalize(
|
||||||
|
features,
|
||||||
outputDir,
|
outputDir,
|
||||||
threads,
|
threads,
|
||||||
memory,
|
memory,
|
||||||
|
|||||||
46
lib/autobuild-action.js
generated
46
lib/autobuild-action.js
generated
@@ -27627,7 +27627,7 @@ var require_package = __commonJS({
|
|||||||
"package.json"(exports2, module2) {
|
"package.json"(exports2, module2) {
|
||||||
module2.exports = {
|
module2.exports = {
|
||||||
name: "codeql",
|
name: "codeql",
|
||||||
version: "4.31.5",
|
version: "3.31.8",
|
||||||
private: true,
|
private: true,
|
||||||
description: "CodeQL action",
|
description: "CodeQL action",
|
||||||
scripts: {
|
scripts: {
|
||||||
@@ -27670,14 +27670,14 @@ var require_package = __commonJS({
|
|||||||
"js-yaml": "^4.1.1",
|
"js-yaml": "^4.1.1",
|
||||||
jsonschema: "1.4.1",
|
jsonschema: "1.4.1",
|
||||||
long: "^5.3.2",
|
long: "^5.3.2",
|
||||||
"node-forge": "^1.3.1",
|
"node-forge": "^1.3.2",
|
||||||
semver: "^7.7.3",
|
semver: "^7.7.3",
|
||||||
uuid: "^13.0.0"
|
uuid: "^13.0.0"
|
||||||
},
|
},
|
||||||
devDependencies: {
|
devDependencies: {
|
||||||
"@ava/typescript": "6.0.0",
|
"@ava/typescript": "6.0.0",
|
||||||
"@eslint/compat": "^2.0.0",
|
"@eslint/compat": "^2.0.0",
|
||||||
"@eslint/eslintrc": "^3.3.1",
|
"@eslint/eslintrc": "^3.3.3",
|
||||||
"@eslint/js": "^9.39.1",
|
"@eslint/js": "^9.39.1",
|
||||||
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
||||||
"@octokit/types": "^16.0.0",
|
"@octokit/types": "^16.0.0",
|
||||||
@@ -27688,8 +27688,8 @@ var require_package = __commonJS({
|
|||||||
"@types/node-forge": "^1.3.14",
|
"@types/node-forge": "^1.3.14",
|
||||||
"@types/semver": "^7.7.1",
|
"@types/semver": "^7.7.1",
|
||||||
"@types/sinon": "^21.0.0",
|
"@types/sinon": "^21.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.46.4",
|
"@typescript-eslint/eslint-plugin": "^8.48.0",
|
||||||
"@typescript-eslint/parser": "^8.41.0",
|
"@typescript-eslint/parser": "^8.48.0",
|
||||||
ava: "^6.4.1",
|
ava: "^6.4.1",
|
||||||
esbuild: "^0.27.0",
|
esbuild: "^0.27.0",
|
||||||
eslint: "^8.57.1",
|
eslint: "^8.57.1",
|
||||||
@@ -27697,7 +27697,7 @@ var require_package = __commonJS({
|
|||||||
"eslint-plugin-filenames": "^1.3.2",
|
"eslint-plugin-filenames": "^1.3.2",
|
||||||
"eslint-plugin-github": "^5.1.8",
|
"eslint-plugin-github": "^5.1.8",
|
||||||
"eslint-plugin-import": "2.29.1",
|
"eslint-plugin-import": "2.29.1",
|
||||||
"eslint-plugin-jsdoc": "^61.2.1",
|
"eslint-plugin-jsdoc": "^61.4.1",
|
||||||
"eslint-plugin-no-async-foreach": "^0.1.1",
|
"eslint-plugin-no-async-foreach": "^0.1.1",
|
||||||
glob: "^11.1.0",
|
glob: "^11.1.0",
|
||||||
nock: "^14.0.10",
|
nock: "^14.0.10",
|
||||||
@@ -82979,7 +82979,7 @@ var safeDump = renamed("safeDump", "dump");
|
|||||||
var semver = __toESM(require_semver2());
|
var semver = __toESM(require_semver2());
|
||||||
|
|
||||||
// src/api-compatibility.json
|
// src/api-compatibility.json
|
||||||
var maximumVersion = "3.19";
|
var maximumVersion = "3.20";
|
||||||
var minimumVersion = "3.14";
|
var minimumVersion = "3.14";
|
||||||
|
|
||||||
// src/util.ts
|
// src/util.ts
|
||||||
@@ -83701,8 +83701,8 @@ var path3 = __toESM(require("path"));
|
|||||||
var semver4 = __toESM(require_semver2());
|
var semver4 = __toESM(require_semver2());
|
||||||
|
|
||||||
// src/defaults.json
|
// src/defaults.json
|
||||||
var bundleVersion = "codeql-bundle-v2.23.5";
|
var bundleVersion = "codeql-bundle-v2.23.8";
|
||||||
var cliVersion = "2.23.5";
|
var cliVersion = "2.23.8";
|
||||||
|
|
||||||
// src/overlay-database-utils.ts
|
// src/overlay-database-utils.ts
|
||||||
var fs2 = __toESM(require("fs"));
|
var fs2 = __toESM(require("fs"));
|
||||||
@@ -83978,6 +83978,11 @@ var featureConfig = {
|
|||||||
legacyApi: true,
|
legacyApi: true,
|
||||||
minimumVersion: "2.15.0"
|
minimumVersion: "2.15.0"
|
||||||
},
|
},
|
||||||
|
["csharp_cache_bmn" /* CsharpCacheBuildModeNone */]: {
|
||||||
|
defaultValue: false,
|
||||||
|
envVar: "CODEQL_ACTION_CSHARP_CACHE_BMN",
|
||||||
|
minimumVersion: void 0
|
||||||
|
},
|
||||||
["csharp_new_cache_key" /* CsharpNewCacheKey */]: {
|
["csharp_new_cache_key" /* CsharpNewCacheKey */]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
envVar: "CODEQL_ACTION_CSHARP_NEW_CACHE_KEY",
|
envVar: "CODEQL_ACTION_CSHARP_NEW_CACHE_KEY",
|
||||||
@@ -84116,6 +84121,11 @@ var featureConfig = {
|
|||||||
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_RUST",
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_RUST",
|
||||||
minimumVersion: void 0
|
minimumVersion: void 0
|
||||||
},
|
},
|
||||||
|
["overlay_analysis_skip_resource_checks" /* OverlayAnalysisSkipResourceChecks */]: {
|
||||||
|
defaultValue: false,
|
||||||
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SKIP_RESOURCE_CHECKS",
|
||||||
|
minimumVersion: void 0
|
||||||
|
},
|
||||||
["overlay_analysis_swift" /* OverlayAnalysisSwift */]: {
|
["overlay_analysis_swift" /* OverlayAnalysisSwift */]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SWIFT",
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SWIFT",
|
||||||
@@ -84421,6 +84431,7 @@ var actionsCache2 = __toESM(require_cache3());
|
|||||||
// src/config-utils.ts
|
// src/config-utils.ts
|
||||||
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB = 2e4;
|
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB = 2e4;
|
||||||
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_BYTES = OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB * 1e6;
|
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_BYTES = OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB * 1e6;
|
||||||
|
var OVERLAY_MINIMUM_MEMORY_MB = 5 * 1024;
|
||||||
var OVERLAY_ANALYSIS_FEATURES = {
|
var OVERLAY_ANALYSIS_FEATURES = {
|
||||||
actions: "overlay_analysis_actions" /* OverlayAnalysisActions */,
|
actions: "overlay_analysis_actions" /* OverlayAnalysisActions */,
|
||||||
cpp: "overlay_analysis_cpp" /* OverlayAnalysisCpp */,
|
cpp: "overlay_analysis_cpp" /* OverlayAnalysisCpp */,
|
||||||
@@ -84962,6 +84973,23 @@ ${output}`
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
async resolveDatabase(databasePath) {
|
||||||
|
const codeqlArgs = [
|
||||||
|
"resolve",
|
||||||
|
"database",
|
||||||
|
databasePath,
|
||||||
|
"--format=json",
|
||||||
|
...getExtraOptionsFromEnv(["resolve", "database"])
|
||||||
|
];
|
||||||
|
const output = await runCli(cmd, codeqlArgs, { noStreamStdout: true });
|
||||||
|
try {
|
||||||
|
return JSON.parse(output);
|
||||||
|
} catch (e) {
|
||||||
|
throw new Error(
|
||||||
|
`Unexpected output from codeql resolve database --format=json: ${e}`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
},
|
||||||
async mergeResults(sarifFiles, outputFile, {
|
async mergeResults(sarifFiles, outputFile, {
|
||||||
mergeRunsFromEqualCategory = false
|
mergeRunsFromEqualCategory = false
|
||||||
}) {
|
}) {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"bundleVersion": "codeql-bundle-v2.23.5",
|
"bundleVersion": "codeql-bundle-v2.23.8",
|
||||||
"cliVersion": "2.23.5",
|
"cliVersion": "2.23.8",
|
||||||
"priorBundleVersion": "codeql-bundle-v2.23.3",
|
"priorBundleVersion": "codeql-bundle-v2.23.7",
|
||||||
"priorCliVersion": "2.23.3"
|
"priorCliVersion": "2.23.7"
|
||||||
}
|
}
|
||||||
|
|||||||
46
lib/init-action-post.js
generated
46
lib/init-action-post.js
generated
@@ -27627,7 +27627,7 @@ var require_package = __commonJS({
|
|||||||
"package.json"(exports2, module2) {
|
"package.json"(exports2, module2) {
|
||||||
module2.exports = {
|
module2.exports = {
|
||||||
name: "codeql",
|
name: "codeql",
|
||||||
version: "4.31.5",
|
version: "3.31.8",
|
||||||
private: true,
|
private: true,
|
||||||
description: "CodeQL action",
|
description: "CodeQL action",
|
||||||
scripts: {
|
scripts: {
|
||||||
@@ -27670,14 +27670,14 @@ var require_package = __commonJS({
|
|||||||
"js-yaml": "^4.1.1",
|
"js-yaml": "^4.1.1",
|
||||||
jsonschema: "1.4.1",
|
jsonschema: "1.4.1",
|
||||||
long: "^5.3.2",
|
long: "^5.3.2",
|
||||||
"node-forge": "^1.3.1",
|
"node-forge": "^1.3.2",
|
||||||
semver: "^7.7.3",
|
semver: "^7.7.3",
|
||||||
uuid: "^13.0.0"
|
uuid: "^13.0.0"
|
||||||
},
|
},
|
||||||
devDependencies: {
|
devDependencies: {
|
||||||
"@ava/typescript": "6.0.0",
|
"@ava/typescript": "6.0.0",
|
||||||
"@eslint/compat": "^2.0.0",
|
"@eslint/compat": "^2.0.0",
|
||||||
"@eslint/eslintrc": "^3.3.1",
|
"@eslint/eslintrc": "^3.3.3",
|
||||||
"@eslint/js": "^9.39.1",
|
"@eslint/js": "^9.39.1",
|
||||||
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
||||||
"@octokit/types": "^16.0.0",
|
"@octokit/types": "^16.0.0",
|
||||||
@@ -27688,8 +27688,8 @@ var require_package = __commonJS({
|
|||||||
"@types/node-forge": "^1.3.14",
|
"@types/node-forge": "^1.3.14",
|
||||||
"@types/semver": "^7.7.1",
|
"@types/semver": "^7.7.1",
|
||||||
"@types/sinon": "^21.0.0",
|
"@types/sinon": "^21.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.46.4",
|
"@typescript-eslint/eslint-plugin": "^8.48.0",
|
||||||
"@typescript-eslint/parser": "^8.41.0",
|
"@typescript-eslint/parser": "^8.48.0",
|
||||||
ava: "^6.4.1",
|
ava: "^6.4.1",
|
||||||
esbuild: "^0.27.0",
|
esbuild: "^0.27.0",
|
||||||
eslint: "^8.57.1",
|
eslint: "^8.57.1",
|
||||||
@@ -27697,7 +27697,7 @@ var require_package = __commonJS({
|
|||||||
"eslint-plugin-filenames": "^1.3.2",
|
"eslint-plugin-filenames": "^1.3.2",
|
||||||
"eslint-plugin-github": "^5.1.8",
|
"eslint-plugin-github": "^5.1.8",
|
||||||
"eslint-plugin-import": "2.29.1",
|
"eslint-plugin-import": "2.29.1",
|
||||||
"eslint-plugin-jsdoc": "^61.2.1",
|
"eslint-plugin-jsdoc": "^61.4.1",
|
||||||
"eslint-plugin-no-async-foreach": "^0.1.1",
|
"eslint-plugin-no-async-foreach": "^0.1.1",
|
||||||
glob: "^11.1.0",
|
glob: "^11.1.0",
|
||||||
nock: "^14.0.10",
|
nock: "^14.0.10",
|
||||||
@@ -122099,7 +122099,7 @@ var safeDump = renamed("safeDump", "dump");
|
|||||||
var semver = __toESM(require_semver2());
|
var semver = __toESM(require_semver2());
|
||||||
|
|
||||||
// src/api-compatibility.json
|
// src/api-compatibility.json
|
||||||
var maximumVersion = "3.19";
|
var maximumVersion = "3.20";
|
||||||
var minimumVersion = "3.14";
|
var minimumVersion = "3.14";
|
||||||
|
|
||||||
// src/util.ts
|
// src/util.ts
|
||||||
@@ -123084,8 +123084,8 @@ var path4 = __toESM(require("path"));
|
|||||||
var semver4 = __toESM(require_semver2());
|
var semver4 = __toESM(require_semver2());
|
||||||
|
|
||||||
// src/defaults.json
|
// src/defaults.json
|
||||||
var bundleVersion = "codeql-bundle-v2.23.5";
|
var bundleVersion = "codeql-bundle-v2.23.8";
|
||||||
var cliVersion = "2.23.5";
|
var cliVersion = "2.23.8";
|
||||||
|
|
||||||
// src/overlay-database-utils.ts
|
// src/overlay-database-utils.ts
|
||||||
var fs3 = __toESM(require("fs"));
|
var fs3 = __toESM(require("fs"));
|
||||||
@@ -123419,6 +123419,11 @@ var featureConfig = {
|
|||||||
legacyApi: true,
|
legacyApi: true,
|
||||||
minimumVersion: "2.15.0"
|
minimumVersion: "2.15.0"
|
||||||
},
|
},
|
||||||
|
["csharp_cache_bmn" /* CsharpCacheBuildModeNone */]: {
|
||||||
|
defaultValue: false,
|
||||||
|
envVar: "CODEQL_ACTION_CSHARP_CACHE_BMN",
|
||||||
|
minimumVersion: void 0
|
||||||
|
},
|
||||||
["csharp_new_cache_key" /* CsharpNewCacheKey */]: {
|
["csharp_new_cache_key" /* CsharpNewCacheKey */]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
envVar: "CODEQL_ACTION_CSHARP_NEW_CACHE_KEY",
|
envVar: "CODEQL_ACTION_CSHARP_NEW_CACHE_KEY",
|
||||||
@@ -123557,6 +123562,11 @@ var featureConfig = {
|
|||||||
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_RUST",
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_RUST",
|
||||||
minimumVersion: void 0
|
minimumVersion: void 0
|
||||||
},
|
},
|
||||||
|
["overlay_analysis_skip_resource_checks" /* OverlayAnalysisSkipResourceChecks */]: {
|
||||||
|
defaultValue: false,
|
||||||
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SKIP_RESOURCE_CHECKS",
|
||||||
|
minimumVersion: void 0
|
||||||
|
},
|
||||||
["overlay_analysis_swift" /* OverlayAnalysisSwift */]: {
|
["overlay_analysis_swift" /* OverlayAnalysisSwift */]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SWIFT",
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SWIFT",
|
||||||
@@ -123880,6 +123890,7 @@ var actionsCache2 = __toESM(require_cache3());
|
|||||||
// src/config-utils.ts
|
// src/config-utils.ts
|
||||||
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB = 2e4;
|
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB = 2e4;
|
||||||
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_BYTES = OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB * 1e6;
|
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_BYTES = OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB * 1e6;
|
||||||
|
var OVERLAY_MINIMUM_MEMORY_MB = 5 * 1024;
|
||||||
var OVERLAY_ANALYSIS_FEATURES = {
|
var OVERLAY_ANALYSIS_FEATURES = {
|
||||||
actions: "overlay_analysis_actions" /* OverlayAnalysisActions */,
|
actions: "overlay_analysis_actions" /* OverlayAnalysisActions */,
|
||||||
cpp: "overlay_analysis_cpp" /* OverlayAnalysisCpp */,
|
cpp: "overlay_analysis_cpp" /* OverlayAnalysisCpp */,
|
||||||
@@ -125339,6 +125350,23 @@ ${output}`
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
async resolveDatabase(databasePath) {
|
||||||
|
const codeqlArgs = [
|
||||||
|
"resolve",
|
||||||
|
"database",
|
||||||
|
databasePath,
|
||||||
|
"--format=json",
|
||||||
|
...getExtraOptionsFromEnv(["resolve", "database"])
|
||||||
|
];
|
||||||
|
const output = await runCli(cmd, codeqlArgs, { noStreamStdout: true });
|
||||||
|
try {
|
||||||
|
return JSON.parse(output);
|
||||||
|
} catch (e) {
|
||||||
|
throw new Error(
|
||||||
|
`Unexpected output from codeql resolve database --format=json: ${e}`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
},
|
||||||
async mergeResults(sarifFiles, outputFile, {
|
async mergeResults(sarifFiles, outputFile, {
|
||||||
mergeRunsFromEqualCategory = false
|
mergeRunsFromEqualCategory = false
|
||||||
}) {
|
}) {
|
||||||
|
|||||||
150
lib/init-action.js
generated
150
lib/init-action.js
generated
@@ -27627,7 +27627,7 @@ var require_package = __commonJS({
|
|||||||
"package.json"(exports2, module2) {
|
"package.json"(exports2, module2) {
|
||||||
module2.exports = {
|
module2.exports = {
|
||||||
name: "codeql",
|
name: "codeql",
|
||||||
version: "4.31.5",
|
version: "3.31.8",
|
||||||
private: true,
|
private: true,
|
||||||
description: "CodeQL action",
|
description: "CodeQL action",
|
||||||
scripts: {
|
scripts: {
|
||||||
@@ -27670,14 +27670,14 @@ var require_package = __commonJS({
|
|||||||
"js-yaml": "^4.1.1",
|
"js-yaml": "^4.1.1",
|
||||||
jsonschema: "1.4.1",
|
jsonschema: "1.4.1",
|
||||||
long: "^5.3.2",
|
long: "^5.3.2",
|
||||||
"node-forge": "^1.3.1",
|
"node-forge": "^1.3.2",
|
||||||
semver: "^7.7.3",
|
semver: "^7.7.3",
|
||||||
uuid: "^13.0.0"
|
uuid: "^13.0.0"
|
||||||
},
|
},
|
||||||
devDependencies: {
|
devDependencies: {
|
||||||
"@ava/typescript": "6.0.0",
|
"@ava/typescript": "6.0.0",
|
||||||
"@eslint/compat": "^2.0.0",
|
"@eslint/compat": "^2.0.0",
|
||||||
"@eslint/eslintrc": "^3.3.1",
|
"@eslint/eslintrc": "^3.3.3",
|
||||||
"@eslint/js": "^9.39.1",
|
"@eslint/js": "^9.39.1",
|
||||||
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
||||||
"@octokit/types": "^16.0.0",
|
"@octokit/types": "^16.0.0",
|
||||||
@@ -27688,8 +27688,8 @@ var require_package = __commonJS({
|
|||||||
"@types/node-forge": "^1.3.14",
|
"@types/node-forge": "^1.3.14",
|
||||||
"@types/semver": "^7.7.1",
|
"@types/semver": "^7.7.1",
|
||||||
"@types/sinon": "^21.0.0",
|
"@types/sinon": "^21.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.46.4",
|
"@typescript-eslint/eslint-plugin": "^8.48.0",
|
||||||
"@typescript-eslint/parser": "^8.41.0",
|
"@typescript-eslint/parser": "^8.48.0",
|
||||||
ava: "^6.4.1",
|
ava: "^6.4.1",
|
||||||
esbuild: "^0.27.0",
|
esbuild: "^0.27.0",
|
||||||
eslint: "^8.57.1",
|
eslint: "^8.57.1",
|
||||||
@@ -27697,7 +27697,7 @@ var require_package = __commonJS({
|
|||||||
"eslint-plugin-filenames": "^1.3.2",
|
"eslint-plugin-filenames": "^1.3.2",
|
||||||
"eslint-plugin-github": "^5.1.8",
|
"eslint-plugin-github": "^5.1.8",
|
||||||
"eslint-plugin-import": "2.29.1",
|
"eslint-plugin-import": "2.29.1",
|
||||||
"eslint-plugin-jsdoc": "^61.2.1",
|
"eslint-plugin-jsdoc": "^61.4.1",
|
||||||
"eslint-plugin-no-async-foreach": "^0.1.1",
|
"eslint-plugin-no-async-foreach": "^0.1.1",
|
||||||
glob: "^11.1.0",
|
glob: "^11.1.0",
|
||||||
nock: "^14.0.10",
|
nock: "^14.0.10",
|
||||||
@@ -84289,7 +84289,7 @@ var safeDump = renamed("safeDump", "dump");
|
|||||||
var semver = __toESM(require_semver2());
|
var semver = __toESM(require_semver2());
|
||||||
|
|
||||||
// src/api-compatibility.json
|
// src/api-compatibility.json
|
||||||
var maximumVersion = "3.19";
|
var maximumVersion = "3.20";
|
||||||
var minimumVersion = "3.14";
|
var minimumVersion = "3.14";
|
||||||
|
|
||||||
// src/util.ts
|
// src/util.ts
|
||||||
@@ -84396,7 +84396,7 @@ function getCgroupMemoryLimitBytes(limitFile, logger) {
|
|||||||
);
|
);
|
||||||
return limit;
|
return limit;
|
||||||
}
|
}
|
||||||
function getMemoryFlagValue(userInput, logger) {
|
function getCodeQLMemoryLimit(userInput, logger) {
|
||||||
return getMemoryFlagValueForPlatform(
|
return getMemoryFlagValueForPlatform(
|
||||||
userInput,
|
userInput,
|
||||||
getTotalMemoryBytes(logger),
|
getTotalMemoryBytes(logger),
|
||||||
@@ -85635,8 +85635,8 @@ var path5 = __toESM(require("path"));
|
|||||||
var semver4 = __toESM(require_semver2());
|
var semver4 = __toESM(require_semver2());
|
||||||
|
|
||||||
// src/defaults.json
|
// src/defaults.json
|
||||||
var bundleVersion = "codeql-bundle-v2.23.5";
|
var bundleVersion = "codeql-bundle-v2.23.8";
|
||||||
var cliVersion = "2.23.5";
|
var cliVersion = "2.23.8";
|
||||||
|
|
||||||
// src/overlay-database-utils.ts
|
// src/overlay-database-utils.ts
|
||||||
var fs3 = __toESM(require("fs"));
|
var fs3 = __toESM(require("fs"));
|
||||||
@@ -85914,7 +85914,7 @@ function computeChangedFiles(baseFileOids, overlayFileOids) {
|
|||||||
var CACHE_VERSION = 1;
|
var CACHE_VERSION = 1;
|
||||||
var CACHE_PREFIX = "codeql-overlay-base-database";
|
var CACHE_PREFIX = "codeql-overlay-base-database";
|
||||||
var MAX_CACHE_OPERATION_MS = 6e5;
|
var MAX_CACHE_OPERATION_MS = 6e5;
|
||||||
function checkOverlayBaseDatabase(config, logger, warningPrefix) {
|
async function checkOverlayBaseDatabase(codeql, config, logger, warningPrefix) {
|
||||||
const baseDatabaseOidsFilePath = getBaseDatabaseOidsFilePath(config);
|
const baseDatabaseOidsFilePath = getBaseDatabaseOidsFilePath(config);
|
||||||
if (!fs3.existsSync(baseDatabaseOidsFilePath)) {
|
if (!fs3.existsSync(baseDatabaseOidsFilePath)) {
|
||||||
logger.warning(
|
logger.warning(
|
||||||
@@ -85922,6 +85922,23 @@ function checkOverlayBaseDatabase(config, logger, warningPrefix) {
|
|||||||
);
|
);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
for (const language of config.languages) {
|
||||||
|
const dbPath = getCodeQLDatabasePath(config, language);
|
||||||
|
try {
|
||||||
|
const resolveDatabaseOutput = await codeql.resolveDatabase(dbPath);
|
||||||
|
if (resolveDatabaseOutput === void 0 || !("overlayBaseSpecifier" in resolveDatabaseOutput)) {
|
||||||
|
logger.info(`${warningPrefix}: no overlayBaseSpecifier defined`);
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
|
logger.debug(
|
||||||
|
`Overlay base specifier for ${language} overlay-base database found: ${resolveDatabaseOutput.overlayBaseSpecifier}`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
} catch (e) {
|
||||||
|
logger.warning(`${warningPrefix}: failed to resolve database: ${e}`);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
async function downloadOverlayBaseDatabaseFromCache(codeql, config, logger) {
|
async function downloadOverlayBaseDatabaseFromCache(codeql, config, logger) {
|
||||||
@@ -86009,7 +86026,8 @@ async function downloadOverlayBaseDatabaseFromCache(codeql, config, logger) {
|
|||||||
);
|
);
|
||||||
return void 0;
|
return void 0;
|
||||||
}
|
}
|
||||||
const databaseIsValid = checkOverlayBaseDatabase(
|
const databaseIsValid = await checkOverlayBaseDatabase(
|
||||||
|
codeql,
|
||||||
config,
|
config,
|
||||||
logger,
|
logger,
|
||||||
"Downloaded overlay-base database is invalid"
|
"Downloaded overlay-base database is invalid"
|
||||||
@@ -86073,6 +86091,11 @@ var featureConfig = {
|
|||||||
legacyApi: true,
|
legacyApi: true,
|
||||||
minimumVersion: "2.15.0"
|
minimumVersion: "2.15.0"
|
||||||
},
|
},
|
||||||
|
["csharp_cache_bmn" /* CsharpCacheBuildModeNone */]: {
|
||||||
|
defaultValue: false,
|
||||||
|
envVar: "CODEQL_ACTION_CSHARP_CACHE_BMN",
|
||||||
|
minimumVersion: void 0
|
||||||
|
},
|
||||||
["csharp_new_cache_key" /* CsharpNewCacheKey */]: {
|
["csharp_new_cache_key" /* CsharpNewCacheKey */]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
envVar: "CODEQL_ACTION_CSHARP_NEW_CACHE_KEY",
|
envVar: "CODEQL_ACTION_CSHARP_NEW_CACHE_KEY",
|
||||||
@@ -86211,6 +86234,11 @@ var featureConfig = {
|
|||||||
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_RUST",
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_RUST",
|
||||||
minimumVersion: void 0
|
minimumVersion: void 0
|
||||||
},
|
},
|
||||||
|
["overlay_analysis_skip_resource_checks" /* OverlayAnalysisSkipResourceChecks */]: {
|
||||||
|
defaultValue: false,
|
||||||
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SKIP_RESOURCE_CHECKS",
|
||||||
|
minimumVersion: void 0
|
||||||
|
},
|
||||||
["overlay_analysis_swift" /* OverlayAnalysisSwift */]: {
|
["overlay_analysis_swift" /* OverlayAnalysisSwift */]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SWIFT",
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SWIFT",
|
||||||
@@ -86658,6 +86686,7 @@ async function cachePrefix(codeql, language) {
|
|||||||
// src/config-utils.ts
|
// src/config-utils.ts
|
||||||
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB = 2e4;
|
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB = 2e4;
|
||||||
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_BYTES = OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB * 1e6;
|
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_BYTES = OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB * 1e6;
|
||||||
|
var OVERLAY_MINIMUM_MEMORY_MB = 5 * 1024;
|
||||||
async function getSupportedLanguageMap(codeql, logger) {
|
async function getSupportedLanguageMap(codeql, logger) {
|
||||||
const resolveSupportedLanguagesUsingCli = await codeql.supportsFeature(
|
const resolveSupportedLanguagesUsingCli = await codeql.supportsFeature(
|
||||||
"builtinExtractorsSpecifyDefaultQueries" /* BuiltinExtractorsSpecifyDefaultQueries */
|
"builtinExtractorsSpecifyDefaultQueries" /* BuiltinExtractorsSpecifyDefaultQueries */
|
||||||
@@ -86915,7 +86944,25 @@ async function isOverlayAnalysisFeatureEnabled(features, codeql, languages, code
|
|||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
async function getOverlayDatabaseMode(codeql, features, languages, sourceRoot, buildMode, codeScanningConfig, logger) {
|
async function runnerSupportsOverlayAnalysis(ramInput, logger) {
|
||||||
|
const diskUsage = await checkDiskUsage(logger);
|
||||||
|
if (diskUsage === void 0 || diskUsage.numAvailableBytes < OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_BYTES) {
|
||||||
|
const diskSpaceMb = diskUsage === void 0 ? 0 : Math.round(diskUsage.numAvailableBytes / 1e6);
|
||||||
|
logger.info(
|
||||||
|
`Setting overlay database mode to ${"none" /* None */} due to insufficient disk space (${diskSpaceMb} MB).`
|
||||||
|
);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
const memoryFlagValue = getCodeQLMemoryLimit(ramInput, logger);
|
||||||
|
if (memoryFlagValue < OVERLAY_MINIMUM_MEMORY_MB) {
|
||||||
|
logger.info(
|
||||||
|
`Setting overlay database mode to ${"none" /* None */} due to insufficient memory for CodeQL analysis (${memoryFlagValue} MB).`
|
||||||
|
);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
async function getOverlayDatabaseMode(codeql, features, languages, sourceRoot, buildMode, ramInput, codeScanningConfig, logger) {
|
||||||
let overlayDatabaseMode = "none" /* None */;
|
let overlayDatabaseMode = "none" /* None */;
|
||||||
let useOverlayDatabaseCaching = false;
|
let useOverlayDatabaseCaching = false;
|
||||||
const modeEnv = process.env.CODEQL_OVERLAY_DATABASE_MODE;
|
const modeEnv = process.env.CODEQL_OVERLAY_DATABASE_MODE;
|
||||||
@@ -86930,28 +86977,24 @@ async function getOverlayDatabaseMode(codeql, features, languages, sourceRoot, b
|
|||||||
languages,
|
languages,
|
||||||
codeScanningConfig
|
codeScanningConfig
|
||||||
)) {
|
)) {
|
||||||
const diskUsage = await checkDiskUsage(logger);
|
const performResourceChecks = !await features.getValue(
|
||||||
if (diskUsage === void 0 || diskUsage.numAvailableBytes < OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_BYTES) {
|
"overlay_analysis_skip_resource_checks" /* OverlayAnalysisSkipResourceChecks */,
|
||||||
const diskSpaceMb = diskUsage === void 0 ? 0 : Math.round(diskUsage.numAvailableBytes / 1e6);
|
codeql
|
||||||
|
);
|
||||||
|
if (performResourceChecks && !await runnerSupportsOverlayAnalysis(ramInput, logger)) {
|
||||||
overlayDatabaseMode = "none" /* None */;
|
overlayDatabaseMode = "none" /* None */;
|
||||||
useOverlayDatabaseCaching = false;
|
} else if (isAnalyzingPullRequest()) {
|
||||||
|
overlayDatabaseMode = "overlay" /* Overlay */;
|
||||||
|
useOverlayDatabaseCaching = true;
|
||||||
logger.info(
|
logger.info(
|
||||||
`Setting overlay database mode to ${overlayDatabaseMode} due to insufficient disk space (${diskSpaceMb} MB).`
|
`Setting overlay database mode to ${overlayDatabaseMode} with caching because we are analyzing a pull request.`
|
||||||
|
);
|
||||||
|
} else if (await isAnalyzingDefaultBranch()) {
|
||||||
|
overlayDatabaseMode = "overlay-base" /* OverlayBase */;
|
||||||
|
useOverlayDatabaseCaching = true;
|
||||||
|
logger.info(
|
||||||
|
`Setting overlay database mode to ${overlayDatabaseMode} with caching because we are analyzing the default branch.`
|
||||||
);
|
);
|
||||||
} else {
|
|
||||||
if (isAnalyzingPullRequest()) {
|
|
||||||
overlayDatabaseMode = "overlay" /* Overlay */;
|
|
||||||
useOverlayDatabaseCaching = true;
|
|
||||||
logger.info(
|
|
||||||
`Setting overlay database mode to ${overlayDatabaseMode} with caching because we are analyzing a pull request.`
|
|
||||||
);
|
|
||||||
} else if (await isAnalyzingDefaultBranch()) {
|
|
||||||
overlayDatabaseMode = "overlay-base" /* OverlayBase */;
|
|
||||||
useOverlayDatabaseCaching = true;
|
|
||||||
logger.info(
|
|
||||||
`Setting overlay database mode to ${overlayDatabaseMode} with caching because we are analyzing the default branch.`
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const nonOverlayAnalysis = {
|
const nonOverlayAnalysis = {
|
||||||
@@ -87046,6 +87089,7 @@ async function initConfig(features, inputs) {
|
|||||||
config.languages,
|
config.languages,
|
||||||
inputs.sourceRoot,
|
inputs.sourceRoot,
|
||||||
config.buildMode,
|
config.buildMode,
|
||||||
|
inputs.ramInput,
|
||||||
config.computedConfig,
|
config.computedConfig,
|
||||||
logger
|
logger
|
||||||
);
|
);
|
||||||
@@ -87260,7 +87304,7 @@ var CODEQL_DEPENDENCY_CACHE_VERSION = 1;
|
|||||||
function getJavaTempDependencyDir() {
|
function getJavaTempDependencyDir() {
|
||||||
return (0, import_path.join)(getTemporaryDirectory(), "codeql_java", "repository");
|
return (0, import_path.join)(getTemporaryDirectory(), "codeql_java", "repository");
|
||||||
}
|
}
|
||||||
function getJavaDependencyDirs() {
|
async function getJavaDependencyDirs() {
|
||||||
return [
|
return [
|
||||||
// Maven
|
// Maven
|
||||||
(0, import_path.join)(os2.homedir(), ".m2", "repository"),
|
(0, import_path.join)(os2.homedir(), ".m2", "repository"),
|
||||||
@@ -87270,6 +87314,19 @@ function getJavaDependencyDirs() {
|
|||||||
getJavaTempDependencyDir()
|
getJavaTempDependencyDir()
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
function getCsharpTempDependencyDir() {
|
||||||
|
return (0, import_path.join)(getTemporaryDirectory(), "codeql_csharp", "repository");
|
||||||
|
}
|
||||||
|
async function getCsharpDependencyDirs(codeql, features) {
|
||||||
|
const dirs = [
|
||||||
|
// Nuget
|
||||||
|
(0, import_path.join)(os2.homedir(), ".nuget", "packages")
|
||||||
|
];
|
||||||
|
if (await features.getValue("csharp_cache_bmn" /* CsharpCacheBuildModeNone */, codeql)) {
|
||||||
|
dirs.push(getCsharpTempDependencyDir());
|
||||||
|
}
|
||||||
|
return dirs;
|
||||||
|
}
|
||||||
async function makePatternCheck(patterns) {
|
async function makePatternCheck(patterns) {
|
||||||
const globber = await makeGlobber(patterns);
|
const globber = await makeGlobber(patterns);
|
||||||
if ((await globber.glob()).length === 0) {
|
if ((await globber.glob()).length === 0) {
|
||||||
@@ -87314,11 +87371,11 @@ var defaultCacheConfigs = {
|
|||||||
])
|
])
|
||||||
},
|
},
|
||||||
csharp: {
|
csharp: {
|
||||||
getDependencyPaths: () => [(0, import_path.join)(os2.homedir(), ".nuget", "packages")],
|
getDependencyPaths: getCsharpDependencyDirs,
|
||||||
getHashPatterns: getCsharpHashPatterns
|
getHashPatterns: getCsharpHashPatterns
|
||||||
},
|
},
|
||||||
go: {
|
go: {
|
||||||
getDependencyPaths: () => [(0, import_path.join)(os2.homedir(), "go", "pkg", "mod")],
|
getDependencyPaths: async () => [(0, import_path.join)(os2.homedir(), "go", "pkg", "mod")],
|
||||||
getHashPatterns: async () => internal.makePatternCheck(["**/go.sum"])
|
getHashPatterns: async () => internal.makePatternCheck(["**/go.sum"])
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -87368,7 +87425,7 @@ async function downloadDependencyCaches(codeql, features, languages, logger) {
|
|||||||
);
|
);
|
||||||
const start = performance.now();
|
const start = performance.now();
|
||||||
const hitKey = await actionsCache3.restoreCache(
|
const hitKey = await actionsCache3.restoreCache(
|
||||||
cacheConfig.getDependencyPaths(),
|
await cacheConfig.getDependencyPaths(codeql, features),
|
||||||
primaryKey,
|
primaryKey,
|
||||||
restoreKeys
|
restoreKeys
|
||||||
);
|
);
|
||||||
@@ -87413,6 +87470,7 @@ async function getFeaturePrefix(codeql, features, language) {
|
|||||||
}
|
}
|
||||||
} else if (language === "csharp" /* csharp */) {
|
} else if (language === "csharp" /* csharp */) {
|
||||||
await addFeatureIfEnabled("csharp_new_cache_key" /* CsharpNewCacheKey */);
|
await addFeatureIfEnabled("csharp_new_cache_key" /* CsharpNewCacheKey */);
|
||||||
|
await addFeatureIfEnabled("csharp_cache_bmn" /* CsharpCacheBuildModeNone */);
|
||||||
}
|
}
|
||||||
if (enabledFeatures.length > 0) {
|
if (enabledFeatures.length > 0) {
|
||||||
return `${createCacheKeyHash(enabledFeatures)}-`;
|
return `${createCacheKeyHash(enabledFeatures)}-`;
|
||||||
@@ -89107,6 +89165,23 @@ ${output}`
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
async resolveDatabase(databasePath) {
|
||||||
|
const codeqlArgs = [
|
||||||
|
"resolve",
|
||||||
|
"database",
|
||||||
|
databasePath,
|
||||||
|
"--format=json",
|
||||||
|
...getExtraOptionsFromEnv(["resolve", "database"])
|
||||||
|
];
|
||||||
|
const output = await runCli(cmd, codeqlArgs, { noStreamStdout: true });
|
||||||
|
try {
|
||||||
|
return JSON.parse(output);
|
||||||
|
} catch (e) {
|
||||||
|
throw new Error(
|
||||||
|
`Unexpected output from codeql resolve database --format=json: ${e}`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
},
|
||||||
async mergeResults(sarifFiles, outputFile, {
|
async mergeResults(sarifFiles, outputFile, {
|
||||||
mergeRunsFromEqualCategory = false
|
mergeRunsFromEqualCategory = false
|
||||||
}) {
|
}) {
|
||||||
@@ -89979,6 +90054,7 @@ async function run() {
|
|||||||
queriesInput: getOptionalInput("queries"),
|
queriesInput: getOptionalInput("queries"),
|
||||||
packsInput: getOptionalInput("packs"),
|
packsInput: getOptionalInput("packs"),
|
||||||
buildModeInput: getOptionalInput("build-mode"),
|
buildModeInput: getOptionalInput("build-mode"),
|
||||||
|
ramInput: getOptionalInput("ram"),
|
||||||
configFile,
|
configFile,
|
||||||
dbLocation: getOptionalInput("db-location"),
|
dbLocation: getOptionalInput("db-location"),
|
||||||
configInput: getOptionalInput("config"),
|
configInput: getOptionalInput("config"),
|
||||||
@@ -90135,7 +90211,7 @@ exec ${goBinaryPath} "$@"`
|
|||||||
}
|
}
|
||||||
core13.exportVariable(
|
core13.exportVariable(
|
||||||
"CODEQL_RAM",
|
"CODEQL_RAM",
|
||||||
process.env["CODEQL_RAM"] || getMemoryFlagValue(getOptionalInput("ram"), logger).toString()
|
process.env["CODEQL_RAM"] || getCodeQLMemoryLimit(getOptionalInput("ram"), logger).toString()
|
||||||
);
|
);
|
||||||
core13.exportVariable(
|
core13.exportVariable(
|
||||||
"CODEQL_THREADS",
|
"CODEQL_THREADS",
|
||||||
|
|||||||
42
lib/resolve-environment-action.js
generated
42
lib/resolve-environment-action.js
generated
@@ -27627,7 +27627,7 @@ var require_package = __commonJS({
|
|||||||
"package.json"(exports2, module2) {
|
"package.json"(exports2, module2) {
|
||||||
module2.exports = {
|
module2.exports = {
|
||||||
name: "codeql",
|
name: "codeql",
|
||||||
version: "4.31.5",
|
version: "3.31.8",
|
||||||
private: true,
|
private: true,
|
||||||
description: "CodeQL action",
|
description: "CodeQL action",
|
||||||
scripts: {
|
scripts: {
|
||||||
@@ -27670,14 +27670,14 @@ var require_package = __commonJS({
|
|||||||
"js-yaml": "^4.1.1",
|
"js-yaml": "^4.1.1",
|
||||||
jsonschema: "1.4.1",
|
jsonschema: "1.4.1",
|
||||||
long: "^5.3.2",
|
long: "^5.3.2",
|
||||||
"node-forge": "^1.3.1",
|
"node-forge": "^1.3.2",
|
||||||
semver: "^7.7.3",
|
semver: "^7.7.3",
|
||||||
uuid: "^13.0.0"
|
uuid: "^13.0.0"
|
||||||
},
|
},
|
||||||
devDependencies: {
|
devDependencies: {
|
||||||
"@ava/typescript": "6.0.0",
|
"@ava/typescript": "6.0.0",
|
||||||
"@eslint/compat": "^2.0.0",
|
"@eslint/compat": "^2.0.0",
|
||||||
"@eslint/eslintrc": "^3.3.1",
|
"@eslint/eslintrc": "^3.3.3",
|
||||||
"@eslint/js": "^9.39.1",
|
"@eslint/js": "^9.39.1",
|
||||||
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
||||||
"@octokit/types": "^16.0.0",
|
"@octokit/types": "^16.0.0",
|
||||||
@@ -27688,8 +27688,8 @@ var require_package = __commonJS({
|
|||||||
"@types/node-forge": "^1.3.14",
|
"@types/node-forge": "^1.3.14",
|
||||||
"@types/semver": "^7.7.1",
|
"@types/semver": "^7.7.1",
|
||||||
"@types/sinon": "^21.0.0",
|
"@types/sinon": "^21.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.46.4",
|
"@typescript-eslint/eslint-plugin": "^8.48.0",
|
||||||
"@typescript-eslint/parser": "^8.41.0",
|
"@typescript-eslint/parser": "^8.48.0",
|
||||||
ava: "^6.4.1",
|
ava: "^6.4.1",
|
||||||
esbuild: "^0.27.0",
|
esbuild: "^0.27.0",
|
||||||
eslint: "^8.57.1",
|
eslint: "^8.57.1",
|
||||||
@@ -27697,7 +27697,7 @@ var require_package = __commonJS({
|
|||||||
"eslint-plugin-filenames": "^1.3.2",
|
"eslint-plugin-filenames": "^1.3.2",
|
||||||
"eslint-plugin-github": "^5.1.8",
|
"eslint-plugin-github": "^5.1.8",
|
||||||
"eslint-plugin-import": "2.29.1",
|
"eslint-plugin-import": "2.29.1",
|
||||||
"eslint-plugin-jsdoc": "^61.2.1",
|
"eslint-plugin-jsdoc": "^61.4.1",
|
||||||
"eslint-plugin-no-async-foreach": "^0.1.1",
|
"eslint-plugin-no-async-foreach": "^0.1.1",
|
||||||
glob: "^11.1.0",
|
glob: "^11.1.0",
|
||||||
nock: "^14.0.10",
|
nock: "^14.0.10",
|
||||||
@@ -82979,7 +82979,7 @@ var safeDump = renamed("safeDump", "dump");
|
|||||||
var semver = __toESM(require_semver2());
|
var semver = __toESM(require_semver2());
|
||||||
|
|
||||||
// src/api-compatibility.json
|
// src/api-compatibility.json
|
||||||
var maximumVersion = "3.19";
|
var maximumVersion = "3.20";
|
||||||
var minimumVersion = "3.14";
|
var minimumVersion = "3.14";
|
||||||
|
|
||||||
// src/util.ts
|
// src/util.ts
|
||||||
@@ -83969,6 +83969,11 @@ var featureConfig = {
|
|||||||
legacyApi: true,
|
legacyApi: true,
|
||||||
minimumVersion: "2.15.0"
|
minimumVersion: "2.15.0"
|
||||||
},
|
},
|
||||||
|
["csharp_cache_bmn" /* CsharpCacheBuildModeNone */]: {
|
||||||
|
defaultValue: false,
|
||||||
|
envVar: "CODEQL_ACTION_CSHARP_CACHE_BMN",
|
||||||
|
minimumVersion: void 0
|
||||||
|
},
|
||||||
["csharp_new_cache_key" /* CsharpNewCacheKey */]: {
|
["csharp_new_cache_key" /* CsharpNewCacheKey */]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
envVar: "CODEQL_ACTION_CSHARP_NEW_CACHE_KEY",
|
envVar: "CODEQL_ACTION_CSHARP_NEW_CACHE_KEY",
|
||||||
@@ -84107,6 +84112,11 @@ var featureConfig = {
|
|||||||
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_RUST",
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_RUST",
|
||||||
minimumVersion: void 0
|
minimumVersion: void 0
|
||||||
},
|
},
|
||||||
|
["overlay_analysis_skip_resource_checks" /* OverlayAnalysisSkipResourceChecks */]: {
|
||||||
|
defaultValue: false,
|
||||||
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SKIP_RESOURCE_CHECKS",
|
||||||
|
minimumVersion: void 0
|
||||||
|
},
|
||||||
["overlay_analysis_swift" /* OverlayAnalysisSwift */]: {
|
["overlay_analysis_swift" /* OverlayAnalysisSwift */]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SWIFT",
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SWIFT",
|
||||||
@@ -84147,6 +84157,7 @@ var actionsCache2 = __toESM(require_cache3());
|
|||||||
// src/config-utils.ts
|
// src/config-utils.ts
|
||||||
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB = 2e4;
|
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB = 2e4;
|
||||||
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_BYTES = OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB * 1e6;
|
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_BYTES = OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB * 1e6;
|
||||||
|
var OVERLAY_MINIMUM_MEMORY_MB = 5 * 1024;
|
||||||
var OVERLAY_ANALYSIS_FEATURES = {
|
var OVERLAY_ANALYSIS_FEATURES = {
|
||||||
actions: "overlay_analysis_actions" /* OverlayAnalysisActions */,
|
actions: "overlay_analysis_actions" /* OverlayAnalysisActions */,
|
||||||
cpp: "overlay_analysis_cpp" /* OverlayAnalysisCpp */,
|
cpp: "overlay_analysis_cpp" /* OverlayAnalysisCpp */,
|
||||||
@@ -84661,6 +84672,23 @@ ${output}`
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
async resolveDatabase(databasePath) {
|
||||||
|
const codeqlArgs = [
|
||||||
|
"resolve",
|
||||||
|
"database",
|
||||||
|
databasePath,
|
||||||
|
"--format=json",
|
||||||
|
...getExtraOptionsFromEnv(["resolve", "database"])
|
||||||
|
];
|
||||||
|
const output = await runCli(cmd, codeqlArgs, { noStreamStdout: true });
|
||||||
|
try {
|
||||||
|
return JSON.parse(output);
|
||||||
|
} catch (e) {
|
||||||
|
throw new Error(
|
||||||
|
`Unexpected output from codeql resolve database --format=json: ${e}`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
},
|
||||||
async mergeResults(sarifFiles, outputFile, {
|
async mergeResults(sarifFiles, outputFile, {
|
||||||
mergeRunsFromEqualCategory = false
|
mergeRunsFromEqualCategory = false
|
||||||
}) {
|
}) {
|
||||||
|
|||||||
46
lib/setup-codeql-action.js
generated
46
lib/setup-codeql-action.js
generated
@@ -27627,7 +27627,7 @@ var require_package = __commonJS({
|
|||||||
"package.json"(exports2, module2) {
|
"package.json"(exports2, module2) {
|
||||||
module2.exports = {
|
module2.exports = {
|
||||||
name: "codeql",
|
name: "codeql",
|
||||||
version: "4.31.5",
|
version: "3.31.8",
|
||||||
private: true,
|
private: true,
|
||||||
description: "CodeQL action",
|
description: "CodeQL action",
|
||||||
scripts: {
|
scripts: {
|
||||||
@@ -27670,14 +27670,14 @@ var require_package = __commonJS({
|
|||||||
"js-yaml": "^4.1.1",
|
"js-yaml": "^4.1.1",
|
||||||
jsonschema: "1.4.1",
|
jsonschema: "1.4.1",
|
||||||
long: "^5.3.2",
|
long: "^5.3.2",
|
||||||
"node-forge": "^1.3.1",
|
"node-forge": "^1.3.2",
|
||||||
semver: "^7.7.3",
|
semver: "^7.7.3",
|
||||||
uuid: "^13.0.0"
|
uuid: "^13.0.0"
|
||||||
},
|
},
|
||||||
devDependencies: {
|
devDependencies: {
|
||||||
"@ava/typescript": "6.0.0",
|
"@ava/typescript": "6.0.0",
|
||||||
"@eslint/compat": "^2.0.0",
|
"@eslint/compat": "^2.0.0",
|
||||||
"@eslint/eslintrc": "^3.3.1",
|
"@eslint/eslintrc": "^3.3.3",
|
||||||
"@eslint/js": "^9.39.1",
|
"@eslint/js": "^9.39.1",
|
||||||
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
||||||
"@octokit/types": "^16.0.0",
|
"@octokit/types": "^16.0.0",
|
||||||
@@ -27688,8 +27688,8 @@ var require_package = __commonJS({
|
|||||||
"@types/node-forge": "^1.3.14",
|
"@types/node-forge": "^1.3.14",
|
||||||
"@types/semver": "^7.7.1",
|
"@types/semver": "^7.7.1",
|
||||||
"@types/sinon": "^21.0.0",
|
"@types/sinon": "^21.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.46.4",
|
"@typescript-eslint/eslint-plugin": "^8.48.0",
|
||||||
"@typescript-eslint/parser": "^8.41.0",
|
"@typescript-eslint/parser": "^8.48.0",
|
||||||
ava: "^6.4.1",
|
ava: "^6.4.1",
|
||||||
esbuild: "^0.27.0",
|
esbuild: "^0.27.0",
|
||||||
eslint: "^8.57.1",
|
eslint: "^8.57.1",
|
||||||
@@ -27697,7 +27697,7 @@ var require_package = __commonJS({
|
|||||||
"eslint-plugin-filenames": "^1.3.2",
|
"eslint-plugin-filenames": "^1.3.2",
|
||||||
"eslint-plugin-github": "^5.1.8",
|
"eslint-plugin-github": "^5.1.8",
|
||||||
"eslint-plugin-import": "2.29.1",
|
"eslint-plugin-import": "2.29.1",
|
||||||
"eslint-plugin-jsdoc": "^61.2.1",
|
"eslint-plugin-jsdoc": "^61.4.1",
|
||||||
"eslint-plugin-no-async-foreach": "^0.1.1",
|
"eslint-plugin-no-async-foreach": "^0.1.1",
|
||||||
glob: "^11.1.0",
|
glob: "^11.1.0",
|
||||||
nock: "^14.0.10",
|
nock: "^14.0.10",
|
||||||
@@ -83035,7 +83035,7 @@ var safeDump = renamed("safeDump", "dump");
|
|||||||
var semver = __toESM(require_semver2());
|
var semver = __toESM(require_semver2());
|
||||||
|
|
||||||
// src/api-compatibility.json
|
// src/api-compatibility.json
|
||||||
var maximumVersion = "3.19";
|
var maximumVersion = "3.20";
|
||||||
var minimumVersion = "3.14";
|
var minimumVersion = "3.14";
|
||||||
|
|
||||||
// src/util.ts
|
// src/util.ts
|
||||||
@@ -83589,8 +83589,8 @@ var path4 = __toESM(require("path"));
|
|||||||
var semver3 = __toESM(require_semver2());
|
var semver3 = __toESM(require_semver2());
|
||||||
|
|
||||||
// src/defaults.json
|
// src/defaults.json
|
||||||
var bundleVersion = "codeql-bundle-v2.23.5";
|
var bundleVersion = "codeql-bundle-v2.23.8";
|
||||||
var cliVersion = "2.23.5";
|
var cliVersion = "2.23.8";
|
||||||
|
|
||||||
// src/overlay-database-utils.ts
|
// src/overlay-database-utils.ts
|
||||||
var fs3 = __toESM(require("fs"));
|
var fs3 = __toESM(require("fs"));
|
||||||
@@ -83881,6 +83881,11 @@ var featureConfig = {
|
|||||||
legacyApi: true,
|
legacyApi: true,
|
||||||
minimumVersion: "2.15.0"
|
minimumVersion: "2.15.0"
|
||||||
},
|
},
|
||||||
|
["csharp_cache_bmn" /* CsharpCacheBuildModeNone */]: {
|
||||||
|
defaultValue: false,
|
||||||
|
envVar: "CODEQL_ACTION_CSHARP_CACHE_BMN",
|
||||||
|
minimumVersion: void 0
|
||||||
|
},
|
||||||
["csharp_new_cache_key" /* CsharpNewCacheKey */]: {
|
["csharp_new_cache_key" /* CsharpNewCacheKey */]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
envVar: "CODEQL_ACTION_CSHARP_NEW_CACHE_KEY",
|
envVar: "CODEQL_ACTION_CSHARP_NEW_CACHE_KEY",
|
||||||
@@ -84019,6 +84024,11 @@ var featureConfig = {
|
|||||||
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_RUST",
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_RUST",
|
||||||
minimumVersion: void 0
|
minimumVersion: void 0
|
||||||
},
|
},
|
||||||
|
["overlay_analysis_skip_resource_checks" /* OverlayAnalysisSkipResourceChecks */]: {
|
||||||
|
defaultValue: false,
|
||||||
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SKIP_RESOURCE_CHECKS",
|
||||||
|
minimumVersion: void 0
|
||||||
|
},
|
||||||
["overlay_analysis_swift" /* OverlayAnalysisSwift */]: {
|
["overlay_analysis_swift" /* OverlayAnalysisSwift */]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SWIFT",
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SWIFT",
|
||||||
@@ -84592,6 +84602,7 @@ var actionsCache2 = __toESM(require_cache3());
|
|||||||
// src/config-utils.ts
|
// src/config-utils.ts
|
||||||
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB = 2e4;
|
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB = 2e4;
|
||||||
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_BYTES = OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB * 1e6;
|
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_BYTES = OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB * 1e6;
|
||||||
|
var OVERLAY_MINIMUM_MEMORY_MB = 5 * 1024;
|
||||||
var OVERLAY_ANALYSIS_FEATURES = {
|
var OVERLAY_ANALYSIS_FEATURES = {
|
||||||
actions: "overlay_analysis_actions" /* OverlayAnalysisActions */,
|
actions: "overlay_analysis_actions" /* OverlayAnalysisActions */,
|
||||||
cpp: "overlay_analysis_cpp" /* OverlayAnalysisCpp */,
|
cpp: "overlay_analysis_cpp" /* OverlayAnalysisCpp */,
|
||||||
@@ -85964,6 +85975,23 @@ ${output}`
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
async resolveDatabase(databasePath) {
|
||||||
|
const codeqlArgs = [
|
||||||
|
"resolve",
|
||||||
|
"database",
|
||||||
|
databasePath,
|
||||||
|
"--format=json",
|
||||||
|
...getExtraOptionsFromEnv(["resolve", "database"])
|
||||||
|
];
|
||||||
|
const output = await runCli(cmd, codeqlArgs, { noStreamStdout: true });
|
||||||
|
try {
|
||||||
|
return JSON.parse(output);
|
||||||
|
} catch (e) {
|
||||||
|
throw new Error(
|
||||||
|
`Unexpected output from codeql resolve database --format=json: ${e}`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
},
|
||||||
async mergeResults(sarifFiles, outputFile, {
|
async mergeResults(sarifFiles, outputFile, {
|
||||||
mergeRunsFromEqualCategory = false
|
mergeRunsFromEqualCategory = false
|
||||||
}) {
|
}) {
|
||||||
|
|||||||
25
lib/start-proxy-action-post.js
generated
25
lib/start-proxy-action-post.js
generated
@@ -27627,7 +27627,7 @@ var require_package = __commonJS({
|
|||||||
"package.json"(exports2, module2) {
|
"package.json"(exports2, module2) {
|
||||||
module2.exports = {
|
module2.exports = {
|
||||||
name: "codeql",
|
name: "codeql",
|
||||||
version: "4.31.5",
|
version: "3.31.8",
|
||||||
private: true,
|
private: true,
|
||||||
description: "CodeQL action",
|
description: "CodeQL action",
|
||||||
scripts: {
|
scripts: {
|
||||||
@@ -27670,14 +27670,14 @@ var require_package = __commonJS({
|
|||||||
"js-yaml": "^4.1.1",
|
"js-yaml": "^4.1.1",
|
||||||
jsonschema: "1.4.1",
|
jsonschema: "1.4.1",
|
||||||
long: "^5.3.2",
|
long: "^5.3.2",
|
||||||
"node-forge": "^1.3.1",
|
"node-forge": "^1.3.2",
|
||||||
semver: "^7.7.3",
|
semver: "^7.7.3",
|
||||||
uuid: "^13.0.0"
|
uuid: "^13.0.0"
|
||||||
},
|
},
|
||||||
devDependencies: {
|
devDependencies: {
|
||||||
"@ava/typescript": "6.0.0",
|
"@ava/typescript": "6.0.0",
|
||||||
"@eslint/compat": "^2.0.0",
|
"@eslint/compat": "^2.0.0",
|
||||||
"@eslint/eslintrc": "^3.3.1",
|
"@eslint/eslintrc": "^3.3.3",
|
||||||
"@eslint/js": "^9.39.1",
|
"@eslint/js": "^9.39.1",
|
||||||
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
||||||
"@octokit/types": "^16.0.0",
|
"@octokit/types": "^16.0.0",
|
||||||
@@ -27688,8 +27688,8 @@ var require_package = __commonJS({
|
|||||||
"@types/node-forge": "^1.3.14",
|
"@types/node-forge": "^1.3.14",
|
||||||
"@types/semver": "^7.7.1",
|
"@types/semver": "^7.7.1",
|
||||||
"@types/sinon": "^21.0.0",
|
"@types/sinon": "^21.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.46.4",
|
"@typescript-eslint/eslint-plugin": "^8.48.0",
|
||||||
"@typescript-eslint/parser": "^8.41.0",
|
"@typescript-eslint/parser": "^8.48.0",
|
||||||
ava: "^6.4.1",
|
ava: "^6.4.1",
|
||||||
esbuild: "^0.27.0",
|
esbuild: "^0.27.0",
|
||||||
eslint: "^8.57.1",
|
eslint: "^8.57.1",
|
||||||
@@ -27697,7 +27697,7 @@ var require_package = __commonJS({
|
|||||||
"eslint-plugin-filenames": "^1.3.2",
|
"eslint-plugin-filenames": "^1.3.2",
|
||||||
"eslint-plugin-github": "^5.1.8",
|
"eslint-plugin-github": "^5.1.8",
|
||||||
"eslint-plugin-import": "2.29.1",
|
"eslint-plugin-import": "2.29.1",
|
||||||
"eslint-plugin-jsdoc": "^61.2.1",
|
"eslint-plugin-jsdoc": "^61.4.1",
|
||||||
"eslint-plugin-no-async-foreach": "^0.1.1",
|
"eslint-plugin-no-async-foreach": "^0.1.1",
|
||||||
glob: "^11.1.0",
|
glob: "^11.1.0",
|
||||||
nock: "^14.0.10",
|
nock: "^14.0.10",
|
||||||
@@ -119198,7 +119198,7 @@ var safeDump = renamed("safeDump", "dump");
|
|||||||
var semver = __toESM(require_semver2());
|
var semver = __toESM(require_semver2());
|
||||||
|
|
||||||
// src/api-compatibility.json
|
// src/api-compatibility.json
|
||||||
var maximumVersion = "3.19";
|
var maximumVersion = "3.20";
|
||||||
var minimumVersion = "3.14";
|
var minimumVersion = "3.14";
|
||||||
|
|
||||||
// src/util.ts
|
// src/util.ts
|
||||||
@@ -119444,6 +119444,11 @@ var featureConfig = {
|
|||||||
legacyApi: true,
|
legacyApi: true,
|
||||||
minimumVersion: "2.15.0"
|
minimumVersion: "2.15.0"
|
||||||
},
|
},
|
||||||
|
["csharp_cache_bmn" /* CsharpCacheBuildModeNone */]: {
|
||||||
|
defaultValue: false,
|
||||||
|
envVar: "CODEQL_ACTION_CSHARP_CACHE_BMN",
|
||||||
|
minimumVersion: void 0
|
||||||
|
},
|
||||||
["csharp_new_cache_key" /* CsharpNewCacheKey */]: {
|
["csharp_new_cache_key" /* CsharpNewCacheKey */]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
envVar: "CODEQL_ACTION_CSHARP_NEW_CACHE_KEY",
|
envVar: "CODEQL_ACTION_CSHARP_NEW_CACHE_KEY",
|
||||||
@@ -119582,6 +119587,11 @@ var featureConfig = {
|
|||||||
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_RUST",
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_RUST",
|
||||||
minimumVersion: void 0
|
minimumVersion: void 0
|
||||||
},
|
},
|
||||||
|
["overlay_analysis_skip_resource_checks" /* OverlayAnalysisSkipResourceChecks */]: {
|
||||||
|
defaultValue: false,
|
||||||
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SKIP_RESOURCE_CHECKS",
|
||||||
|
minimumVersion: void 0
|
||||||
|
},
|
||||||
["overlay_analysis_swift" /* OverlayAnalysisSwift */]: {
|
["overlay_analysis_swift" /* OverlayAnalysisSwift */]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SWIFT",
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SWIFT",
|
||||||
@@ -119622,6 +119632,7 @@ var actionsCache2 = __toESM(require_cache3());
|
|||||||
// src/config-utils.ts
|
// src/config-utils.ts
|
||||||
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB = 2e4;
|
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB = 2e4;
|
||||||
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_BYTES = OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB * 1e6;
|
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_BYTES = OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB * 1e6;
|
||||||
|
var OVERLAY_MINIMUM_MEMORY_MB = 5 * 1024;
|
||||||
var OVERLAY_ANALYSIS_FEATURES = {
|
var OVERLAY_ANALYSIS_FEATURES = {
|
||||||
actions: "overlay_analysis_actions" /* OverlayAnalysisActions */,
|
actions: "overlay_analysis_actions" /* OverlayAnalysisActions */,
|
||||||
cpp: "overlay_analysis_cpp" /* OverlayAnalysisCpp */,
|
cpp: "overlay_analysis_cpp" /* OverlayAnalysisCpp */,
|
||||||
|
|||||||
91
lib/start-proxy-action.js
generated
91
lib/start-proxy-action.js
generated
@@ -24935,7 +24935,7 @@ var require_util8 = __commonJS({
|
|||||||
parts.push("<?>");
|
parts.push("<?>");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
// FIXME: do proper formating for numbers, etc
|
// FIXME: do proper formatting for numbers, etc
|
||||||
//case 'f':
|
//case 'f':
|
||||||
//case 'd':
|
//case 'd':
|
||||||
case "%":
|
case "%":
|
||||||
@@ -26386,6 +26386,7 @@ var require_asn1 = __commonJS({
|
|||||||
GENERALIZEDTIME: 24,
|
GENERALIZEDTIME: 24,
|
||||||
BMPSTRING: 30
|
BMPSTRING: 30
|
||||||
};
|
};
|
||||||
|
asn1.maxDepth = 256;
|
||||||
asn1.create = function(tagClass, type2, constructed, value, options) {
|
asn1.create = function(tagClass, type2, constructed, value, options) {
|
||||||
if (forge.util.isArray(value)) {
|
if (forge.util.isArray(value)) {
|
||||||
var tmp = [];
|
var tmp = [];
|
||||||
@@ -26527,6 +26528,9 @@ var require_asn1 = __commonJS({
|
|||||||
if (!("decodeBitStrings" in options)) {
|
if (!("decodeBitStrings" in options)) {
|
||||||
options.decodeBitStrings = true;
|
options.decodeBitStrings = true;
|
||||||
}
|
}
|
||||||
|
if (!("maxDepth" in options)) {
|
||||||
|
options.maxDepth = asn1.maxDepth;
|
||||||
|
}
|
||||||
if (typeof bytes === "string") {
|
if (typeof bytes === "string") {
|
||||||
bytes = forge.util.createBuffer(bytes);
|
bytes = forge.util.createBuffer(bytes);
|
||||||
}
|
}
|
||||||
@@ -26541,6 +26545,9 @@ var require_asn1 = __commonJS({
|
|||||||
return value;
|
return value;
|
||||||
};
|
};
|
||||||
function _fromDer(bytes, remaining, depth, options) {
|
function _fromDer(bytes, remaining, depth, options) {
|
||||||
|
if (depth >= options.maxDepth) {
|
||||||
|
throw new Error("ASN.1 parsing error: Max depth exceeded.");
|
||||||
|
}
|
||||||
var start;
|
var start;
|
||||||
_checkBufferLength(bytes, remaining, 2);
|
_checkBufferLength(bytes, remaining, 2);
|
||||||
var b1 = bytes.getByte();
|
var b1 = bytes.getByte();
|
||||||
@@ -26716,6 +26723,9 @@ var require_asn1 = __commonJS({
|
|||||||
last = true;
|
last = true;
|
||||||
valueBytes = [];
|
valueBytes = [];
|
||||||
value = parseInt(values[i], 10);
|
value = parseInt(values[i], 10);
|
||||||
|
if (value > 4294967295) {
|
||||||
|
throw new Error("OID value too large; max is 32-bits.");
|
||||||
|
}
|
||||||
do {
|
do {
|
||||||
b = value & 127;
|
b = value & 127;
|
||||||
value = value >>> 7;
|
value = value >>> 7;
|
||||||
@@ -26740,8 +26750,11 @@ var require_asn1 = __commonJS({
|
|||||||
oid = Math.floor(b / 40) + "." + b % 40;
|
oid = Math.floor(b / 40) + "." + b % 40;
|
||||||
var value = 0;
|
var value = 0;
|
||||||
while (bytes.length() > 0) {
|
while (bytes.length() > 0) {
|
||||||
|
if (value > 70368744177663) {
|
||||||
|
throw new Error("OID value too large; max is 53-bits.");
|
||||||
|
}
|
||||||
b = bytes.getByte();
|
b = bytes.getByte();
|
||||||
value = value << 7;
|
value = value * 128;
|
||||||
if (b & 128) {
|
if (b & 128) {
|
||||||
value += b & 127;
|
value += b & 127;
|
||||||
} else {
|
} else {
|
||||||
@@ -26902,19 +26915,40 @@ var require_asn1 = __commonJS({
|
|||||||
if (v.value && forge.util.isArray(v.value)) {
|
if (v.value && forge.util.isArray(v.value)) {
|
||||||
var j = 0;
|
var j = 0;
|
||||||
for (var i = 0; rval && i < v.value.length; ++i) {
|
for (var i = 0; rval && i < v.value.length; ++i) {
|
||||||
rval = v.value[i].optional || false;
|
var schemaItem = v.value[i];
|
||||||
if (obj.value[j]) {
|
rval = !!schemaItem.optional;
|
||||||
rval = asn1.validate(obj.value[j], v.value[i], capture, errors);
|
var objChild = obj.value[j];
|
||||||
if (rval) {
|
if (!objChild) {
|
||||||
++j;
|
if (!schemaItem.optional) {
|
||||||
} else if (v.value[i].optional) {
|
rval = false;
|
||||||
|
if (errors) {
|
||||||
|
errors.push("[" + v.name + '] Missing required element. Expected tag class "' + schemaItem.tagClass + '", type "' + schemaItem.type + '"');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
var schemaHasTag = typeof schemaItem.tagClass !== "undefined" && typeof schemaItem.type !== "undefined";
|
||||||
|
if (schemaHasTag && (objChild.tagClass !== schemaItem.tagClass || objChild.type !== schemaItem.type)) {
|
||||||
|
if (schemaItem.optional) {
|
||||||
rval = true;
|
rval = true;
|
||||||
|
continue;
|
||||||
|
} else {
|
||||||
|
rval = false;
|
||||||
|
if (errors) {
|
||||||
|
errors.push("[" + v.name + "] Tag mismatch. Expected (" + schemaItem.tagClass + "," + schemaItem.type + "), got (" + objChild.tagClass + "," + objChild.type + ")");
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!rval && errors) {
|
var childRval = asn1.validate(objChild, schemaItem, capture, errors);
|
||||||
errors.push(
|
if (childRval) {
|
||||||
"[" + v.name + '] Tag class "' + v.tagClass + '", type "' + v.type + '" expected value length "' + v.value.length + '", got "' + obj.value.length + '"'
|
++j;
|
||||||
);
|
rval = true;
|
||||||
|
} else if (schemaItem.optional) {
|
||||||
|
rval = true;
|
||||||
|
} else {
|
||||||
|
rval = false;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -30955,7 +30989,7 @@ var require_rsa = __commonJS({
|
|||||||
constructed: false,
|
constructed: false,
|
||||||
capture: "algorithmIdentifier"
|
capture: "algorithmIdentifier"
|
||||||
}, {
|
}, {
|
||||||
// NULL paramters
|
// NULL parameters
|
||||||
name: "DigestInfo.DigestAlgorithm.parameters",
|
name: "DigestInfo.DigestAlgorithm.parameters",
|
||||||
tagClass: asn1.Class.UNIVERSAL,
|
tagClass: asn1.Class.UNIVERSAL,
|
||||||
type: asn1.Type.NULL,
|
type: asn1.Type.NULL,
|
||||||
@@ -31468,7 +31502,7 @@ var require_rsa = __commonJS({
|
|||||||
if (oid === forge.oids.md2 || oid === forge.oids.md5) {
|
if (oid === forge.oids.md2 || oid === forge.oids.md5) {
|
||||||
if (!("parameters" in capture)) {
|
if (!("parameters" in capture)) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
"ASN.1 object does not contain a valid RSASSA-PKCS1-v1_5 DigestInfo value. Missing algorithm identifer NULL parameters."
|
"ASN.1 object does not contain a valid RSASSA-PKCS1-v1_5 DigestInfo value. Missing algorithm identifier NULL parameters."
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -35665,6 +35699,8 @@ var require_pkcs12 = __commonJS({
|
|||||||
if (macValue.getBytes() !== capture.macDigest) {
|
if (macValue.getBytes() !== capture.macDigest) {
|
||||||
throw new Error("PKCS#12 MAC could not be verified. Invalid password?");
|
throw new Error("PKCS#12 MAC could not be verified. Invalid password?");
|
||||||
}
|
}
|
||||||
|
} else if (Array.isArray(obj.value) && obj.value.length > 2) {
|
||||||
|
throw new Error("Invalid PKCS#12. macData field present but MAC was not validated.");
|
||||||
}
|
}
|
||||||
_decodeAuthenticatedSafe(pfx, data.value, strict, password);
|
_decodeAuthenticatedSafe(pfx, data.value, strict, password);
|
||||||
return pfx;
|
return pfx;
|
||||||
@@ -47285,7 +47321,7 @@ var require_package = __commonJS({
|
|||||||
"package.json"(exports2, module2) {
|
"package.json"(exports2, module2) {
|
||||||
module2.exports = {
|
module2.exports = {
|
||||||
name: "codeql",
|
name: "codeql",
|
||||||
version: "4.31.5",
|
version: "3.31.8",
|
||||||
private: true,
|
private: true,
|
||||||
description: "CodeQL action",
|
description: "CodeQL action",
|
||||||
scripts: {
|
scripts: {
|
||||||
@@ -47328,14 +47364,14 @@ var require_package = __commonJS({
|
|||||||
"js-yaml": "^4.1.1",
|
"js-yaml": "^4.1.1",
|
||||||
jsonschema: "1.4.1",
|
jsonschema: "1.4.1",
|
||||||
long: "^5.3.2",
|
long: "^5.3.2",
|
||||||
"node-forge": "^1.3.1",
|
"node-forge": "^1.3.2",
|
||||||
semver: "^7.7.3",
|
semver: "^7.7.3",
|
||||||
uuid: "^13.0.0"
|
uuid: "^13.0.0"
|
||||||
},
|
},
|
||||||
devDependencies: {
|
devDependencies: {
|
||||||
"@ava/typescript": "6.0.0",
|
"@ava/typescript": "6.0.0",
|
||||||
"@eslint/compat": "^2.0.0",
|
"@eslint/compat": "^2.0.0",
|
||||||
"@eslint/eslintrc": "^3.3.1",
|
"@eslint/eslintrc": "^3.3.3",
|
||||||
"@eslint/js": "^9.39.1",
|
"@eslint/js": "^9.39.1",
|
||||||
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
||||||
"@octokit/types": "^16.0.0",
|
"@octokit/types": "^16.0.0",
|
||||||
@@ -47346,8 +47382,8 @@ var require_package = __commonJS({
|
|||||||
"@types/node-forge": "^1.3.14",
|
"@types/node-forge": "^1.3.14",
|
||||||
"@types/semver": "^7.7.1",
|
"@types/semver": "^7.7.1",
|
||||||
"@types/sinon": "^21.0.0",
|
"@types/sinon": "^21.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.46.4",
|
"@typescript-eslint/eslint-plugin": "^8.48.0",
|
||||||
"@typescript-eslint/parser": "^8.41.0",
|
"@typescript-eslint/parser": "^8.48.0",
|
||||||
ava: "^6.4.1",
|
ava: "^6.4.1",
|
||||||
esbuild: "^0.27.0",
|
esbuild: "^0.27.0",
|
||||||
eslint: "^8.57.1",
|
eslint: "^8.57.1",
|
||||||
@@ -47355,7 +47391,7 @@ var require_package = __commonJS({
|
|||||||
"eslint-plugin-filenames": "^1.3.2",
|
"eslint-plugin-filenames": "^1.3.2",
|
||||||
"eslint-plugin-github": "^5.1.8",
|
"eslint-plugin-github": "^5.1.8",
|
||||||
"eslint-plugin-import": "2.29.1",
|
"eslint-plugin-import": "2.29.1",
|
||||||
"eslint-plugin-jsdoc": "^61.2.1",
|
"eslint-plugin-jsdoc": "^61.4.1",
|
||||||
"eslint-plugin-no-async-foreach": "^0.1.1",
|
"eslint-plugin-no-async-foreach": "^0.1.1",
|
||||||
glob: "^11.1.0",
|
glob: "^11.1.0",
|
||||||
nock: "^14.0.10",
|
nock: "^14.0.10",
|
||||||
@@ -99684,8 +99720,8 @@ function getActionsLogger() {
|
|||||||
var core7 = __toESM(require_core());
|
var core7 = __toESM(require_core());
|
||||||
|
|
||||||
// src/defaults.json
|
// src/defaults.json
|
||||||
var bundleVersion = "codeql-bundle-v2.23.5";
|
var bundleVersion = "codeql-bundle-v2.23.8";
|
||||||
var cliVersion = "2.23.5";
|
var cliVersion = "2.23.8";
|
||||||
|
|
||||||
// src/languages.ts
|
// src/languages.ts
|
||||||
var KnownLanguage = /* @__PURE__ */ ((KnownLanguage2) => {
|
var KnownLanguage = /* @__PURE__ */ ((KnownLanguage2) => {
|
||||||
@@ -99997,6 +100033,11 @@ var featureConfig = {
|
|||||||
legacyApi: true,
|
legacyApi: true,
|
||||||
minimumVersion: "2.15.0"
|
minimumVersion: "2.15.0"
|
||||||
},
|
},
|
||||||
|
["csharp_cache_bmn" /* CsharpCacheBuildModeNone */]: {
|
||||||
|
defaultValue: false,
|
||||||
|
envVar: "CODEQL_ACTION_CSHARP_CACHE_BMN",
|
||||||
|
minimumVersion: void 0
|
||||||
|
},
|
||||||
["csharp_new_cache_key" /* CsharpNewCacheKey */]: {
|
["csharp_new_cache_key" /* CsharpNewCacheKey */]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
envVar: "CODEQL_ACTION_CSHARP_NEW_CACHE_KEY",
|
envVar: "CODEQL_ACTION_CSHARP_NEW_CACHE_KEY",
|
||||||
@@ -100135,6 +100176,11 @@ var featureConfig = {
|
|||||||
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_RUST",
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_RUST",
|
||||||
minimumVersion: void 0
|
minimumVersion: void 0
|
||||||
},
|
},
|
||||||
|
["overlay_analysis_skip_resource_checks" /* OverlayAnalysisSkipResourceChecks */]: {
|
||||||
|
defaultValue: false,
|
||||||
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SKIP_RESOURCE_CHECKS",
|
||||||
|
minimumVersion: void 0
|
||||||
|
},
|
||||||
["overlay_analysis_swift" /* OverlayAnalysisSwift */]: {
|
["overlay_analysis_swift" /* OverlayAnalysisSwift */]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SWIFT",
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SWIFT",
|
||||||
@@ -100175,6 +100221,7 @@ var actionsCache2 = __toESM(require_cache3());
|
|||||||
// src/config-utils.ts
|
// src/config-utils.ts
|
||||||
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB = 2e4;
|
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB = 2e4;
|
||||||
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_BYTES = OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB * 1e6;
|
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_BYTES = OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB * 1e6;
|
||||||
|
var OVERLAY_MINIMUM_MEMORY_MB = 5 * 1024;
|
||||||
var OVERLAY_ANALYSIS_FEATURES = {
|
var OVERLAY_ANALYSIS_FEATURES = {
|
||||||
actions: "overlay_analysis_actions" /* OverlayAnalysisActions */,
|
actions: "overlay_analysis_actions" /* OverlayAnalysisActions */,
|
||||||
cpp: "overlay_analysis_cpp" /* OverlayAnalysisCpp */,
|
cpp: "overlay_analysis_cpp" /* OverlayAnalysisCpp */,
|
||||||
|
|||||||
44
lib/upload-lib.js
generated
44
lib/upload-lib.js
generated
@@ -28924,7 +28924,7 @@ var require_package = __commonJS({
|
|||||||
"package.json"(exports2, module2) {
|
"package.json"(exports2, module2) {
|
||||||
module2.exports = {
|
module2.exports = {
|
||||||
name: "codeql",
|
name: "codeql",
|
||||||
version: "4.31.5",
|
version: "3.31.8",
|
||||||
private: true,
|
private: true,
|
||||||
description: "CodeQL action",
|
description: "CodeQL action",
|
||||||
scripts: {
|
scripts: {
|
||||||
@@ -28967,14 +28967,14 @@ var require_package = __commonJS({
|
|||||||
"js-yaml": "^4.1.1",
|
"js-yaml": "^4.1.1",
|
||||||
jsonschema: "1.4.1",
|
jsonschema: "1.4.1",
|
||||||
long: "^5.3.2",
|
long: "^5.3.2",
|
||||||
"node-forge": "^1.3.1",
|
"node-forge": "^1.3.2",
|
||||||
semver: "^7.7.3",
|
semver: "^7.7.3",
|
||||||
uuid: "^13.0.0"
|
uuid: "^13.0.0"
|
||||||
},
|
},
|
||||||
devDependencies: {
|
devDependencies: {
|
||||||
"@ava/typescript": "6.0.0",
|
"@ava/typescript": "6.0.0",
|
||||||
"@eslint/compat": "^2.0.0",
|
"@eslint/compat": "^2.0.0",
|
||||||
"@eslint/eslintrc": "^3.3.1",
|
"@eslint/eslintrc": "^3.3.3",
|
||||||
"@eslint/js": "^9.39.1",
|
"@eslint/js": "^9.39.1",
|
||||||
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
||||||
"@octokit/types": "^16.0.0",
|
"@octokit/types": "^16.0.0",
|
||||||
@@ -28985,8 +28985,8 @@ var require_package = __commonJS({
|
|||||||
"@types/node-forge": "^1.3.14",
|
"@types/node-forge": "^1.3.14",
|
||||||
"@types/semver": "^7.7.1",
|
"@types/semver": "^7.7.1",
|
||||||
"@types/sinon": "^21.0.0",
|
"@types/sinon": "^21.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.46.4",
|
"@typescript-eslint/eslint-plugin": "^8.48.0",
|
||||||
"@typescript-eslint/parser": "^8.41.0",
|
"@typescript-eslint/parser": "^8.48.0",
|
||||||
ava: "^6.4.1",
|
ava: "^6.4.1",
|
||||||
esbuild: "^0.27.0",
|
esbuild: "^0.27.0",
|
||||||
eslint: "^8.57.1",
|
eslint: "^8.57.1",
|
||||||
@@ -28994,7 +28994,7 @@ var require_package = __commonJS({
|
|||||||
"eslint-plugin-filenames": "^1.3.2",
|
"eslint-plugin-filenames": "^1.3.2",
|
||||||
"eslint-plugin-github": "^5.1.8",
|
"eslint-plugin-github": "^5.1.8",
|
||||||
"eslint-plugin-import": "2.29.1",
|
"eslint-plugin-import": "2.29.1",
|
||||||
"eslint-plugin-jsdoc": "^61.2.1",
|
"eslint-plugin-jsdoc": "^61.4.1",
|
||||||
"eslint-plugin-no-async-foreach": "^0.1.1",
|
"eslint-plugin-no-async-foreach": "^0.1.1",
|
||||||
glob: "^11.1.0",
|
glob: "^11.1.0",
|
||||||
nock: "^14.0.10",
|
nock: "^14.0.10",
|
||||||
@@ -86724,8 +86724,8 @@ var path4 = __toESM(require("path"));
|
|||||||
var semver4 = __toESM(require_semver2());
|
var semver4 = __toESM(require_semver2());
|
||||||
|
|
||||||
// src/defaults.json
|
// src/defaults.json
|
||||||
var bundleVersion = "codeql-bundle-v2.23.5";
|
var bundleVersion = "codeql-bundle-v2.23.8";
|
||||||
var cliVersion = "2.23.5";
|
var cliVersion = "2.23.8";
|
||||||
|
|
||||||
// src/overlay-database-utils.ts
|
// src/overlay-database-utils.ts
|
||||||
var fs3 = __toESM(require("fs"));
|
var fs3 = __toESM(require("fs"));
|
||||||
@@ -87034,6 +87034,11 @@ var featureConfig = {
|
|||||||
legacyApi: true,
|
legacyApi: true,
|
||||||
minimumVersion: "2.15.0"
|
minimumVersion: "2.15.0"
|
||||||
},
|
},
|
||||||
|
["csharp_cache_bmn" /* CsharpCacheBuildModeNone */]: {
|
||||||
|
defaultValue: false,
|
||||||
|
envVar: "CODEQL_ACTION_CSHARP_CACHE_BMN",
|
||||||
|
minimumVersion: void 0
|
||||||
|
},
|
||||||
["csharp_new_cache_key" /* CsharpNewCacheKey */]: {
|
["csharp_new_cache_key" /* CsharpNewCacheKey */]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
envVar: "CODEQL_ACTION_CSHARP_NEW_CACHE_KEY",
|
envVar: "CODEQL_ACTION_CSHARP_NEW_CACHE_KEY",
|
||||||
@@ -87172,6 +87177,11 @@ var featureConfig = {
|
|||||||
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_RUST",
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_RUST",
|
||||||
minimumVersion: void 0
|
minimumVersion: void 0
|
||||||
},
|
},
|
||||||
|
["overlay_analysis_skip_resource_checks" /* OverlayAnalysisSkipResourceChecks */]: {
|
||||||
|
defaultValue: false,
|
||||||
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SKIP_RESOURCE_CHECKS",
|
||||||
|
minimumVersion: void 0
|
||||||
|
},
|
||||||
["overlay_analysis_swift" /* OverlayAnalysisSwift */]: {
|
["overlay_analysis_swift" /* OverlayAnalysisSwift */]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SWIFT",
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SWIFT",
|
||||||
@@ -87230,6 +87240,7 @@ var actionsCache2 = __toESM(require_cache3());
|
|||||||
// src/config-utils.ts
|
// src/config-utils.ts
|
||||||
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB = 2e4;
|
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB = 2e4;
|
||||||
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_BYTES = OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB * 1e6;
|
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_BYTES = OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB * 1e6;
|
||||||
|
var OVERLAY_MINIMUM_MEMORY_MB = 5 * 1024;
|
||||||
var OVERLAY_ANALYSIS_FEATURES = {
|
var OVERLAY_ANALYSIS_FEATURES = {
|
||||||
actions: "overlay_analysis_actions" /* OverlayAnalysisActions */,
|
actions: "overlay_analysis_actions" /* OverlayAnalysisActions */,
|
||||||
cpp: "overlay_analysis_cpp" /* OverlayAnalysisCpp */,
|
cpp: "overlay_analysis_cpp" /* OverlayAnalysisCpp */,
|
||||||
@@ -88686,6 +88697,23 @@ ${output}`
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
async resolveDatabase(databasePath) {
|
||||||
|
const codeqlArgs = [
|
||||||
|
"resolve",
|
||||||
|
"database",
|
||||||
|
databasePath,
|
||||||
|
"--format=json",
|
||||||
|
...getExtraOptionsFromEnv(["resolve", "database"])
|
||||||
|
];
|
||||||
|
const output = await runCli(cmd, codeqlArgs, { noStreamStdout: true });
|
||||||
|
try {
|
||||||
|
return JSON.parse(output);
|
||||||
|
} catch (e) {
|
||||||
|
throw new Error(
|
||||||
|
`Unexpected output from codeql resolve database --format=json: ${e}`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
},
|
||||||
async mergeResults(sarifFiles, outputFile, {
|
async mergeResults(sarifFiles, outputFile, {
|
||||||
mergeRunsFromEqualCategory = false
|
mergeRunsFromEqualCategory = false
|
||||||
}) {
|
}) {
|
||||||
|
|||||||
25
lib/upload-sarif-action-post.js
generated
25
lib/upload-sarif-action-post.js
generated
@@ -27627,7 +27627,7 @@ var require_package = __commonJS({
|
|||||||
"package.json"(exports2, module2) {
|
"package.json"(exports2, module2) {
|
||||||
module2.exports = {
|
module2.exports = {
|
||||||
name: "codeql",
|
name: "codeql",
|
||||||
version: "4.31.5",
|
version: "3.31.8",
|
||||||
private: true,
|
private: true,
|
||||||
description: "CodeQL action",
|
description: "CodeQL action",
|
||||||
scripts: {
|
scripts: {
|
||||||
@@ -27670,14 +27670,14 @@ var require_package = __commonJS({
|
|||||||
"js-yaml": "^4.1.1",
|
"js-yaml": "^4.1.1",
|
||||||
jsonschema: "1.4.1",
|
jsonschema: "1.4.1",
|
||||||
long: "^5.3.2",
|
long: "^5.3.2",
|
||||||
"node-forge": "^1.3.1",
|
"node-forge": "^1.3.2",
|
||||||
semver: "^7.7.3",
|
semver: "^7.7.3",
|
||||||
uuid: "^13.0.0"
|
uuid: "^13.0.0"
|
||||||
},
|
},
|
||||||
devDependencies: {
|
devDependencies: {
|
||||||
"@ava/typescript": "6.0.0",
|
"@ava/typescript": "6.0.0",
|
||||||
"@eslint/compat": "^2.0.0",
|
"@eslint/compat": "^2.0.0",
|
||||||
"@eslint/eslintrc": "^3.3.1",
|
"@eslint/eslintrc": "^3.3.3",
|
||||||
"@eslint/js": "^9.39.1",
|
"@eslint/js": "^9.39.1",
|
||||||
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
||||||
"@octokit/types": "^16.0.0",
|
"@octokit/types": "^16.0.0",
|
||||||
@@ -27688,8 +27688,8 @@ var require_package = __commonJS({
|
|||||||
"@types/node-forge": "^1.3.14",
|
"@types/node-forge": "^1.3.14",
|
||||||
"@types/semver": "^7.7.1",
|
"@types/semver": "^7.7.1",
|
||||||
"@types/sinon": "^21.0.0",
|
"@types/sinon": "^21.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.46.4",
|
"@typescript-eslint/eslint-plugin": "^8.48.0",
|
||||||
"@typescript-eslint/parser": "^8.41.0",
|
"@typescript-eslint/parser": "^8.48.0",
|
||||||
ava: "^6.4.1",
|
ava: "^6.4.1",
|
||||||
esbuild: "^0.27.0",
|
esbuild: "^0.27.0",
|
||||||
eslint: "^8.57.1",
|
eslint: "^8.57.1",
|
||||||
@@ -27697,7 +27697,7 @@ var require_package = __commonJS({
|
|||||||
"eslint-plugin-filenames": "^1.3.2",
|
"eslint-plugin-filenames": "^1.3.2",
|
||||||
"eslint-plugin-github": "^5.1.8",
|
"eslint-plugin-github": "^5.1.8",
|
||||||
"eslint-plugin-import": "2.29.1",
|
"eslint-plugin-import": "2.29.1",
|
||||||
"eslint-plugin-jsdoc": "^61.2.1",
|
"eslint-plugin-jsdoc": "^61.4.1",
|
||||||
"eslint-plugin-no-async-foreach": "^0.1.1",
|
"eslint-plugin-no-async-foreach": "^0.1.1",
|
||||||
glob: "^11.1.0",
|
glob: "^11.1.0",
|
||||||
nock: "^14.0.10",
|
nock: "^14.0.10",
|
||||||
@@ -119198,7 +119198,7 @@ var safeDump = renamed("safeDump", "dump");
|
|||||||
var semver = __toESM(require_semver2());
|
var semver = __toESM(require_semver2());
|
||||||
|
|
||||||
// src/api-compatibility.json
|
// src/api-compatibility.json
|
||||||
var maximumVersion = "3.19";
|
var maximumVersion = "3.20";
|
||||||
var minimumVersion = "3.14";
|
var minimumVersion = "3.14";
|
||||||
|
|
||||||
// src/util.ts
|
// src/util.ts
|
||||||
@@ -119610,6 +119610,11 @@ var featureConfig = {
|
|||||||
legacyApi: true,
|
legacyApi: true,
|
||||||
minimumVersion: "2.15.0"
|
minimumVersion: "2.15.0"
|
||||||
},
|
},
|
||||||
|
["csharp_cache_bmn" /* CsharpCacheBuildModeNone */]: {
|
||||||
|
defaultValue: false,
|
||||||
|
envVar: "CODEQL_ACTION_CSHARP_CACHE_BMN",
|
||||||
|
minimumVersion: void 0
|
||||||
|
},
|
||||||
["csharp_new_cache_key" /* CsharpNewCacheKey */]: {
|
["csharp_new_cache_key" /* CsharpNewCacheKey */]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
envVar: "CODEQL_ACTION_CSHARP_NEW_CACHE_KEY",
|
envVar: "CODEQL_ACTION_CSHARP_NEW_CACHE_KEY",
|
||||||
@@ -119748,6 +119753,11 @@ var featureConfig = {
|
|||||||
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_RUST",
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_RUST",
|
||||||
minimumVersion: void 0
|
minimumVersion: void 0
|
||||||
},
|
},
|
||||||
|
["overlay_analysis_skip_resource_checks" /* OverlayAnalysisSkipResourceChecks */]: {
|
||||||
|
defaultValue: false,
|
||||||
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SKIP_RESOURCE_CHECKS",
|
||||||
|
minimumVersion: void 0
|
||||||
|
},
|
||||||
["overlay_analysis_swift" /* OverlayAnalysisSwift */]: {
|
["overlay_analysis_swift" /* OverlayAnalysisSwift */]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SWIFT",
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SWIFT",
|
||||||
@@ -119788,6 +119798,7 @@ var actionsCache2 = __toESM(require_cache3());
|
|||||||
// src/config-utils.ts
|
// src/config-utils.ts
|
||||||
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB = 2e4;
|
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB = 2e4;
|
||||||
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_BYTES = OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB * 1e6;
|
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_BYTES = OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB * 1e6;
|
||||||
|
var OVERLAY_MINIMUM_MEMORY_MB = 5 * 1024;
|
||||||
var OVERLAY_ANALYSIS_FEATURES = {
|
var OVERLAY_ANALYSIS_FEATURES = {
|
||||||
actions: "overlay_analysis_actions" /* OverlayAnalysisActions */,
|
actions: "overlay_analysis_actions" /* OverlayAnalysisActions */,
|
||||||
cpp: "overlay_analysis_cpp" /* OverlayAnalysisCpp */,
|
cpp: "overlay_analysis_cpp" /* OverlayAnalysisCpp */,
|
||||||
|
|||||||
44
lib/upload-sarif-action.js
generated
44
lib/upload-sarif-action.js
generated
@@ -27627,7 +27627,7 @@ var require_package = __commonJS({
|
|||||||
"package.json"(exports2, module2) {
|
"package.json"(exports2, module2) {
|
||||||
module2.exports = {
|
module2.exports = {
|
||||||
name: "codeql",
|
name: "codeql",
|
||||||
version: "4.31.5",
|
version: "3.31.8",
|
||||||
private: true,
|
private: true,
|
||||||
description: "CodeQL action",
|
description: "CodeQL action",
|
||||||
scripts: {
|
scripts: {
|
||||||
@@ -27670,14 +27670,14 @@ var require_package = __commonJS({
|
|||||||
"js-yaml": "^4.1.1",
|
"js-yaml": "^4.1.1",
|
||||||
jsonschema: "1.4.1",
|
jsonschema: "1.4.1",
|
||||||
long: "^5.3.2",
|
long: "^5.3.2",
|
||||||
"node-forge": "^1.3.1",
|
"node-forge": "^1.3.2",
|
||||||
semver: "^7.7.3",
|
semver: "^7.7.3",
|
||||||
uuid: "^13.0.0"
|
uuid: "^13.0.0"
|
||||||
},
|
},
|
||||||
devDependencies: {
|
devDependencies: {
|
||||||
"@ava/typescript": "6.0.0",
|
"@ava/typescript": "6.0.0",
|
||||||
"@eslint/compat": "^2.0.0",
|
"@eslint/compat": "^2.0.0",
|
||||||
"@eslint/eslintrc": "^3.3.1",
|
"@eslint/eslintrc": "^3.3.3",
|
||||||
"@eslint/js": "^9.39.1",
|
"@eslint/js": "^9.39.1",
|
||||||
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
||||||
"@octokit/types": "^16.0.0",
|
"@octokit/types": "^16.0.0",
|
||||||
@@ -27688,8 +27688,8 @@ var require_package = __commonJS({
|
|||||||
"@types/node-forge": "^1.3.14",
|
"@types/node-forge": "^1.3.14",
|
||||||
"@types/semver": "^7.7.1",
|
"@types/semver": "^7.7.1",
|
||||||
"@types/sinon": "^21.0.0",
|
"@types/sinon": "^21.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.46.4",
|
"@typescript-eslint/eslint-plugin": "^8.48.0",
|
||||||
"@typescript-eslint/parser": "^8.41.0",
|
"@typescript-eslint/parser": "^8.48.0",
|
||||||
ava: "^6.4.1",
|
ava: "^6.4.1",
|
||||||
esbuild: "^0.27.0",
|
esbuild: "^0.27.0",
|
||||||
eslint: "^8.57.1",
|
eslint: "^8.57.1",
|
||||||
@@ -27697,7 +27697,7 @@ var require_package = __commonJS({
|
|||||||
"eslint-plugin-filenames": "^1.3.2",
|
"eslint-plugin-filenames": "^1.3.2",
|
||||||
"eslint-plugin-github": "^5.1.8",
|
"eslint-plugin-github": "^5.1.8",
|
||||||
"eslint-plugin-import": "2.29.1",
|
"eslint-plugin-import": "2.29.1",
|
||||||
"eslint-plugin-jsdoc": "^61.2.1",
|
"eslint-plugin-jsdoc": "^61.4.1",
|
||||||
"eslint-plugin-no-async-foreach": "^0.1.1",
|
"eslint-plugin-no-async-foreach": "^0.1.1",
|
||||||
glob: "^11.1.0",
|
glob: "^11.1.0",
|
||||||
nock: "^14.0.10",
|
nock: "^14.0.10",
|
||||||
@@ -86505,8 +86505,8 @@ var path4 = __toESM(require("path"));
|
|||||||
var semver3 = __toESM(require_semver2());
|
var semver3 = __toESM(require_semver2());
|
||||||
|
|
||||||
// src/defaults.json
|
// src/defaults.json
|
||||||
var bundleVersion = "codeql-bundle-v2.23.5";
|
var bundleVersion = "codeql-bundle-v2.23.8";
|
||||||
var cliVersion = "2.23.5";
|
var cliVersion = "2.23.8";
|
||||||
|
|
||||||
// src/overlay-database-utils.ts
|
// src/overlay-database-utils.ts
|
||||||
var fs3 = __toESM(require("fs"));
|
var fs3 = __toESM(require("fs"));
|
||||||
@@ -86831,6 +86831,11 @@ var featureConfig = {
|
|||||||
legacyApi: true,
|
legacyApi: true,
|
||||||
minimumVersion: "2.15.0"
|
minimumVersion: "2.15.0"
|
||||||
},
|
},
|
||||||
|
["csharp_cache_bmn" /* CsharpCacheBuildModeNone */]: {
|
||||||
|
defaultValue: false,
|
||||||
|
envVar: "CODEQL_ACTION_CSHARP_CACHE_BMN",
|
||||||
|
minimumVersion: void 0
|
||||||
|
},
|
||||||
["csharp_new_cache_key" /* CsharpNewCacheKey */]: {
|
["csharp_new_cache_key" /* CsharpNewCacheKey */]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
envVar: "CODEQL_ACTION_CSHARP_NEW_CACHE_KEY",
|
envVar: "CODEQL_ACTION_CSHARP_NEW_CACHE_KEY",
|
||||||
@@ -86969,6 +86974,11 @@ var featureConfig = {
|
|||||||
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_RUST",
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_RUST",
|
||||||
minimumVersion: void 0
|
minimumVersion: void 0
|
||||||
},
|
},
|
||||||
|
["overlay_analysis_skip_resource_checks" /* OverlayAnalysisSkipResourceChecks */]: {
|
||||||
|
defaultValue: false,
|
||||||
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SKIP_RESOURCE_CHECKS",
|
||||||
|
minimumVersion: void 0
|
||||||
|
},
|
||||||
["overlay_analysis_swift" /* OverlayAnalysisSwift */]: {
|
["overlay_analysis_swift" /* OverlayAnalysisSwift */]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SWIFT",
|
envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_SWIFT",
|
||||||
@@ -87312,6 +87322,7 @@ var actionsCache2 = __toESM(require_cache3());
|
|||||||
// src/config-utils.ts
|
// src/config-utils.ts
|
||||||
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB = 2e4;
|
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB = 2e4;
|
||||||
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_BYTES = OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB * 1e6;
|
var OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_BYTES = OVERLAY_MINIMUM_AVAILABLE_DISK_SPACE_MB * 1e6;
|
||||||
|
var OVERLAY_MINIMUM_MEMORY_MB = 5 * 1024;
|
||||||
var OVERLAY_ANALYSIS_FEATURES = {
|
var OVERLAY_ANALYSIS_FEATURES = {
|
||||||
actions: "overlay_analysis_actions" /* OverlayAnalysisActions */,
|
actions: "overlay_analysis_actions" /* OverlayAnalysisActions */,
|
||||||
cpp: "overlay_analysis_cpp" /* OverlayAnalysisCpp */,
|
cpp: "overlay_analysis_cpp" /* OverlayAnalysisCpp */,
|
||||||
@@ -89204,6 +89215,23 @@ ${output}`
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
async resolveDatabase(databasePath) {
|
||||||
|
const codeqlArgs = [
|
||||||
|
"resolve",
|
||||||
|
"database",
|
||||||
|
databasePath,
|
||||||
|
"--format=json",
|
||||||
|
...getExtraOptionsFromEnv(["resolve", "database"])
|
||||||
|
];
|
||||||
|
const output = await runCli(cmd, codeqlArgs, { noStreamStdout: true });
|
||||||
|
try {
|
||||||
|
return JSON.parse(output);
|
||||||
|
} catch (e) {
|
||||||
|
throw new Error(
|
||||||
|
`Unexpected output from codeql resolve database --format=json: ${e}`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
},
|
||||||
async mergeResults(sarifFiles, outputFile, {
|
async mergeResults(sarifFiles, outputFile, {
|
||||||
mergeRunsFromEqualCategory = false
|
mergeRunsFromEqualCategory = false
|
||||||
}) {
|
}) {
|
||||||
|
|||||||
283
package-lock.json
generated
283
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "codeql",
|
"name": "codeql",
|
||||||
"version": "4.31.5",
|
"version": "4.31.8",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "codeql",
|
"name": "codeql",
|
||||||
"version": "4.31.5",
|
"version": "4.31.8",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/artifact": "^4.0.0",
|
"@actions/artifact": "^4.0.0",
|
||||||
@@ -28,14 +28,14 @@
|
|||||||
"js-yaml": "^4.1.1",
|
"js-yaml": "^4.1.1",
|
||||||
"jsonschema": "1.4.1",
|
"jsonschema": "1.4.1",
|
||||||
"long": "^5.3.2",
|
"long": "^5.3.2",
|
||||||
"node-forge": "^1.3.1",
|
"node-forge": "^1.3.2",
|
||||||
"semver": "^7.7.3",
|
"semver": "^7.7.3",
|
||||||
"uuid": "^13.0.0"
|
"uuid": "^13.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@ava/typescript": "6.0.0",
|
"@ava/typescript": "6.0.0",
|
||||||
"@eslint/compat": "^2.0.0",
|
"@eslint/compat": "^2.0.0",
|
||||||
"@eslint/eslintrc": "^3.3.1",
|
"@eslint/eslintrc": "^3.3.3",
|
||||||
"@eslint/js": "^9.39.1",
|
"@eslint/js": "^9.39.1",
|
||||||
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
||||||
"@octokit/types": "^16.0.0",
|
"@octokit/types": "^16.0.0",
|
||||||
@@ -46,8 +46,8 @@
|
|||||||
"@types/node-forge": "^1.3.14",
|
"@types/node-forge": "^1.3.14",
|
||||||
"@types/semver": "^7.7.1",
|
"@types/semver": "^7.7.1",
|
||||||
"@types/sinon": "^21.0.0",
|
"@types/sinon": "^21.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.46.4",
|
"@typescript-eslint/eslint-plugin": "^8.48.0",
|
||||||
"@typescript-eslint/parser": "^8.41.0",
|
"@typescript-eslint/parser": "^8.48.0",
|
||||||
"ava": "^6.4.1",
|
"ava": "^6.4.1",
|
||||||
"esbuild": "^0.27.0",
|
"esbuild": "^0.27.0",
|
||||||
"eslint": "^8.57.1",
|
"eslint": "^8.57.1",
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
"eslint-plugin-filenames": "^1.3.2",
|
"eslint-plugin-filenames": "^1.3.2",
|
||||||
"eslint-plugin-github": "^5.1.8",
|
"eslint-plugin-github": "^5.1.8",
|
||||||
"eslint-plugin-import": "2.29.1",
|
"eslint-plugin-import": "2.29.1",
|
||||||
"eslint-plugin-jsdoc": "^61.2.1",
|
"eslint-plugin-jsdoc": "^61.4.1",
|
||||||
"eslint-plugin-no-async-foreach": "^0.1.1",
|
"eslint-plugin-no-async-foreach": "^0.1.1",
|
||||||
"glob": "^11.1.0",
|
"glob": "^11.1.0",
|
||||||
"nock": "^14.0.10",
|
"nock": "^14.0.10",
|
||||||
@@ -1449,10 +1449,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@eslint/eslintrc": {
|
"node_modules/@eslint/eslintrc": {
|
||||||
"version": "3.3.1",
|
"version": "3.3.3",
|
||||||
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.1.tgz",
|
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.3.tgz",
|
||||||
"integrity": "sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==",
|
"integrity": "sha512-Kr+LPIUVKz2qkx1HAMH8q1q6azbqBAsXJUxBl/ODDuVPX45Z9DfwB8tPjTi6nNZ8BuM3nbJxC5zCAg5elnBUTQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"ajv": "^6.12.4",
|
"ajv": "^6.12.4",
|
||||||
"debug": "^4.3.2",
|
"debug": "^4.3.2",
|
||||||
@@ -1460,7 +1461,7 @@
|
|||||||
"globals": "^14.0.0",
|
"globals": "^14.0.0",
|
||||||
"ignore": "^5.2.0",
|
"ignore": "^5.2.0",
|
||||||
"import-fresh": "^3.2.1",
|
"import-fresh": "^3.2.1",
|
||||||
"js-yaml": "^4.1.0",
|
"js-yaml": "^4.1.1",
|
||||||
"minimatch": "^3.1.2",
|
"minimatch": "^3.1.2",
|
||||||
"strip-json-comments": "^3.1.1"
|
"strip-json-comments": "^3.1.1"
|
||||||
},
|
},
|
||||||
@@ -1798,6 +1799,7 @@
|
|||||||
"resolved": "https://registry.npmjs.org/@octokit/core/-/core-5.2.2.tgz",
|
"resolved": "https://registry.npmjs.org/@octokit/core/-/core-5.2.2.tgz",
|
||||||
"integrity": "sha512-/g2d4sW9nUDJOMz3mabVQvOGhVa4e/BN/Um7yca9Bb2XTzPPnfTWHWQg+IsEYO7M3Vx+EXvaM/I2pJWIMun1bg==",
|
"integrity": "sha512-/g2d4sW9nUDJOMz3mabVQvOGhVa4e/BN/Um7yca9Bb2XTzPPnfTWHWQg+IsEYO7M3Vx+EXvaM/I2pJWIMun1bg==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"peer": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@octokit/auth-token": "^4.0.0",
|
"@octokit/auth-token": "^4.0.0",
|
||||||
"@octokit/graphql": "^7.1.0",
|
"@octokit/graphql": "^7.1.0",
|
||||||
@@ -2369,17 +2371,17 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/eslint-plugin": {
|
"node_modules/@typescript-eslint/eslint-plugin": {
|
||||||
"version": "8.46.4",
|
"version": "8.48.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.46.4.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.48.0.tgz",
|
||||||
"integrity": "sha512-R48VhmTJqplNyDxCyqqVkFSZIx1qX6PzwqgcXn1olLrzxcSBDlOsbtcnQuQhNtnNiJ4Xe5gREI1foajYaYU2Vg==",
|
"integrity": "sha512-XxXP5tL1txl13YFtrECECQYeZjBZad4fyd3cFV4a19LkAY/bIp9fev3US4S5fDVV2JaYFiKAZ/GRTOLer+mbyQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint-community/regexpp": "^4.10.0",
|
"@eslint-community/regexpp": "^4.10.0",
|
||||||
"@typescript-eslint/scope-manager": "8.46.4",
|
"@typescript-eslint/scope-manager": "8.48.0",
|
||||||
"@typescript-eslint/type-utils": "8.46.4",
|
"@typescript-eslint/type-utils": "8.48.0",
|
||||||
"@typescript-eslint/utils": "8.46.4",
|
"@typescript-eslint/utils": "8.48.0",
|
||||||
"@typescript-eslint/visitor-keys": "8.46.4",
|
"@typescript-eslint/visitor-keys": "8.48.0",
|
||||||
"graphemer": "^1.4.0",
|
"graphemer": "^1.4.0",
|
||||||
"ignore": "^7.0.0",
|
"ignore": "^7.0.0",
|
||||||
"natural-compare": "^1.4.0",
|
"natural-compare": "^1.4.0",
|
||||||
@@ -2393,20 +2395,20 @@
|
|||||||
"url": "https://opencollective.com/typescript-eslint"
|
"url": "https://opencollective.com/typescript-eslint"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@typescript-eslint/parser": "^8.46.4",
|
"@typescript-eslint/parser": "^8.48.0",
|
||||||
"eslint": "^8.57.0 || ^9.0.0",
|
"eslint": "^8.57.0 || ^9.0.0",
|
||||||
"typescript": ">=4.8.4 <6.0.0"
|
"typescript": ">=4.8.4 <6.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": {
|
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": {
|
||||||
"version": "8.46.4",
|
"version": "8.48.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.46.4.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.48.0.tgz",
|
||||||
"integrity": "sha512-tMDbLGXb1wC+McN1M6QeDx7P7c0UWO5z9CXqp7J8E+xGcJuUuevWKxuG8j41FoweS3+L41SkyKKkia16jpX7CA==",
|
"integrity": "sha512-uGSSsbrtJrLduti0Q1Q9+BF1/iFKaxGoQwjWOIVNJv0o6omrdyR8ct37m4xIl5Zzpkp69Kkmvom7QFTtue89YQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.46.4",
|
"@typescript-eslint/types": "8.48.0",
|
||||||
"@typescript-eslint/visitor-keys": "8.46.4"
|
"@typescript-eslint/visitor-keys": "8.48.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||||
@@ -2417,9 +2419,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": {
|
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": {
|
||||||
"version": "8.46.4",
|
"version": "8.48.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.46.4.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.48.0.tgz",
|
||||||
"integrity": "sha512-USjyxm3gQEePdUwJBFjjGNG18xY9A2grDVGuk7/9AkjIF1L+ZrVnwR5VAU5JXtUnBL/Nwt3H31KlRDaksnM7/w==",
|
"integrity": "sha512-cQMcGQQH7kwKoVswD1xdOytxQR60MWKM1di26xSUtxehaDs/32Zpqsu5WJlXTtTTqyAVK8R7hvsUnIXRS+bjvA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -2431,21 +2433,20 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": {
|
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": {
|
||||||
"version": "8.46.4",
|
"version": "8.48.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.46.4.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.48.0.tgz",
|
||||||
"integrity": "sha512-7oV2qEOr1d4NWNmpXLR35LvCfOkTNymY9oyW+lUHkmCno7aOmIf/hMaydnJBUTBMRCOGZh8YjkFOc8dadEoNGA==",
|
"integrity": "sha512-ljHab1CSO4rGrQIAyizUS6UGHHCiAYhbfcIZ1zVJr5nMryxlXMVWS3duFPSKvSUbFPwkXMFk1k0EMIjub4sRRQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/project-service": "8.46.4",
|
"@typescript-eslint/project-service": "8.48.0",
|
||||||
"@typescript-eslint/tsconfig-utils": "8.46.4",
|
"@typescript-eslint/tsconfig-utils": "8.48.0",
|
||||||
"@typescript-eslint/types": "8.46.4",
|
"@typescript-eslint/types": "8.48.0",
|
||||||
"@typescript-eslint/visitor-keys": "8.46.4",
|
"@typescript-eslint/visitor-keys": "8.48.0",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"fast-glob": "^3.3.2",
|
|
||||||
"is-glob": "^4.0.3",
|
|
||||||
"minimatch": "^9.0.4",
|
"minimatch": "^9.0.4",
|
||||||
"semver": "^7.6.0",
|
"semver": "^7.6.0",
|
||||||
|
"tinyglobby": "^0.2.15",
|
||||||
"ts-api-utils": "^2.1.0"
|
"ts-api-utils": "^2.1.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -2460,16 +2461,16 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": {
|
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": {
|
||||||
"version": "8.46.4",
|
"version": "8.48.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.46.4.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.48.0.tgz",
|
||||||
"integrity": "sha512-AbSv11fklGXV6T28dp2Me04Uw90R2iJ30g2bgLz529Koehrmkbs1r7paFqr1vPCZi7hHwYxYtxfyQMRC8QaVSg==",
|
"integrity": "sha512-yTJO1XuGxCsSfIVt1+1UrLHtue8xz16V8apzPYI06W0HbEbEWHxHXgZaAgavIkoh+GeV6hKKd5jm0sS6OYxWXQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint-community/eslint-utils": "^4.7.0",
|
"@eslint-community/eslint-utils": "^4.7.0",
|
||||||
"@typescript-eslint/scope-manager": "8.46.4",
|
"@typescript-eslint/scope-manager": "8.48.0",
|
||||||
"@typescript-eslint/types": "8.46.4",
|
"@typescript-eslint/types": "8.48.0",
|
||||||
"@typescript-eslint/typescript-estree": "8.46.4"
|
"@typescript-eslint/typescript-estree": "8.48.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||||
@@ -2484,13 +2485,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": {
|
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": {
|
||||||
"version": "8.46.4",
|
"version": "8.48.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.46.4.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.48.0.tgz",
|
||||||
"integrity": "sha512-/++5CYLQqsO9HFGLI7APrxBJYo+5OCMpViuhV8q5/Qa3o5mMrF//eQHks+PXcsAVaLdn817fMuS7zqoXNNZGaw==",
|
"integrity": "sha512-T0XJMaRPOH3+LBbAfzR2jalckP1MSG/L9eUtY0DEzUyVaXJ/t6zN0nR7co5kz0Jko/nkSYCBRkz1djvjajVTTg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.46.4",
|
"@typescript-eslint/types": "8.48.0",
|
||||||
"eslint-visitor-keys": "^4.2.1"
|
"eslint-visitor-keys": "^4.2.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -2563,16 +2564,17 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/parser": {
|
"node_modules/@typescript-eslint/parser": {
|
||||||
"version": "8.46.4",
|
"version": "8.48.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.46.4.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.48.0.tgz",
|
||||||
"integrity": "sha512-tK3GPFWbirvNgsNKto+UmB/cRtn6TZfyw0D6IKrW55n6Vbs7KJoZtI//kpTKzE/DUmmnAFD8/Ca46s7Obs92/w==",
|
"integrity": "sha512-jCzKdm/QK0Kg4V4IK/oMlRZlY+QOcdjv89U2NgKHZk1CYTj82/RVSx1mV/0gqCVMJ/DA+Zf/S4NBWNF8GQ+eqQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"peer": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/scope-manager": "8.46.4",
|
"@typescript-eslint/scope-manager": "8.48.0",
|
||||||
"@typescript-eslint/types": "8.46.4",
|
"@typescript-eslint/types": "8.48.0",
|
||||||
"@typescript-eslint/typescript-estree": "8.46.4",
|
"@typescript-eslint/typescript-estree": "8.48.0",
|
||||||
"@typescript-eslint/visitor-keys": "8.46.4",
|
"@typescript-eslint/visitor-keys": "8.48.0",
|
||||||
"debug": "^4.3.4"
|
"debug": "^4.3.4"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -2588,14 +2590,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": {
|
"node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": {
|
||||||
"version": "8.46.4",
|
"version": "8.48.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.46.4.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.48.0.tgz",
|
||||||
"integrity": "sha512-tMDbLGXb1wC+McN1M6QeDx7P7c0UWO5z9CXqp7J8E+xGcJuUuevWKxuG8j41FoweS3+L41SkyKKkia16jpX7CA==",
|
"integrity": "sha512-uGSSsbrtJrLduti0Q1Q9+BF1/iFKaxGoQwjWOIVNJv0o6omrdyR8ct37m4xIl5Zzpkp69Kkmvom7QFTtue89YQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.46.4",
|
"@typescript-eslint/types": "8.48.0",
|
||||||
"@typescript-eslint/visitor-keys": "8.46.4"
|
"@typescript-eslint/visitor-keys": "8.48.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||||
@@ -2606,9 +2608,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": {
|
"node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": {
|
||||||
"version": "8.46.4",
|
"version": "8.48.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.46.4.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.48.0.tgz",
|
||||||
"integrity": "sha512-USjyxm3gQEePdUwJBFjjGNG18xY9A2grDVGuk7/9AkjIF1L+ZrVnwR5VAU5JXtUnBL/Nwt3H31KlRDaksnM7/w==",
|
"integrity": "sha512-cQMcGQQH7kwKoVswD1xdOytxQR60MWKM1di26xSUtxehaDs/32Zpqsu5WJlXTtTTqyAVK8R7hvsUnIXRS+bjvA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -2620,21 +2622,20 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": {
|
"node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": {
|
||||||
"version": "8.46.4",
|
"version": "8.48.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.46.4.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.48.0.tgz",
|
||||||
"integrity": "sha512-7oV2qEOr1d4NWNmpXLR35LvCfOkTNymY9oyW+lUHkmCno7aOmIf/hMaydnJBUTBMRCOGZh8YjkFOc8dadEoNGA==",
|
"integrity": "sha512-ljHab1CSO4rGrQIAyizUS6UGHHCiAYhbfcIZ1zVJr5nMryxlXMVWS3duFPSKvSUbFPwkXMFk1k0EMIjub4sRRQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/project-service": "8.46.4",
|
"@typescript-eslint/project-service": "8.48.0",
|
||||||
"@typescript-eslint/tsconfig-utils": "8.46.4",
|
"@typescript-eslint/tsconfig-utils": "8.48.0",
|
||||||
"@typescript-eslint/types": "8.46.4",
|
"@typescript-eslint/types": "8.48.0",
|
||||||
"@typescript-eslint/visitor-keys": "8.46.4",
|
"@typescript-eslint/visitor-keys": "8.48.0",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"fast-glob": "^3.3.2",
|
|
||||||
"is-glob": "^4.0.3",
|
|
||||||
"minimatch": "^9.0.4",
|
"minimatch": "^9.0.4",
|
||||||
"semver": "^7.6.0",
|
"semver": "^7.6.0",
|
||||||
|
"tinyglobby": "^0.2.15",
|
||||||
"ts-api-utils": "^2.1.0"
|
"ts-api-utils": "^2.1.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -2649,13 +2650,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": {
|
"node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": {
|
||||||
"version": "8.46.4",
|
"version": "8.48.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.46.4.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.48.0.tgz",
|
||||||
"integrity": "sha512-/++5CYLQqsO9HFGLI7APrxBJYo+5OCMpViuhV8q5/Qa3o5mMrF//eQHks+PXcsAVaLdn817fMuS7zqoXNNZGaw==",
|
"integrity": "sha512-T0XJMaRPOH3+LBbAfzR2jalckP1MSG/L9eUtY0DEzUyVaXJ/t6zN0nR7co5kz0Jko/nkSYCBRkz1djvjajVTTg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.46.4",
|
"@typescript-eslint/types": "8.48.0",
|
||||||
"eslint-visitor-keys": "^4.2.1"
|
"eslint-visitor-keys": "^4.2.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -2719,14 +2720,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/project-service": {
|
"node_modules/@typescript-eslint/project-service": {
|
||||||
"version": "8.46.4",
|
"version": "8.48.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.46.4.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.48.0.tgz",
|
||||||
"integrity": "sha512-nPiRSKuvtTN+no/2N1kt2tUh/HoFzeEgOm9fQ6XQk4/ApGqjx0zFIIaLJ6wooR1HIoozvj2j6vTi/1fgAz7UYQ==",
|
"integrity": "sha512-Ne4CTZyRh1BecBf84siv42wv5vQvVmgtk8AuiEffKTUo3DrBaGYZueJSxxBZ8fjk/N3DrgChH4TOdIOwOwiqqw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/tsconfig-utils": "^8.46.4",
|
"@typescript-eslint/tsconfig-utils": "^8.48.0",
|
||||||
"@typescript-eslint/types": "^8.46.4",
|
"@typescript-eslint/types": "^8.48.0",
|
||||||
"debug": "^4.3.4"
|
"debug": "^4.3.4"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -2741,9 +2742,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/project-service/node_modules/@typescript-eslint/types": {
|
"node_modules/@typescript-eslint/project-service/node_modules/@typescript-eslint/types": {
|
||||||
"version": "8.46.4",
|
"version": "8.48.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.46.4.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.48.0.tgz",
|
||||||
"integrity": "sha512-USjyxm3gQEePdUwJBFjjGNG18xY9A2grDVGuk7/9AkjIF1L+ZrVnwR5VAU5JXtUnBL/Nwt3H31KlRDaksnM7/w==",
|
"integrity": "sha512-cQMcGQQH7kwKoVswD1xdOytxQR60MWKM1di26xSUtxehaDs/32Zpqsu5WJlXTtTTqyAVK8R7hvsUnIXRS+bjvA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -2773,9 +2774,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/tsconfig-utils": {
|
"node_modules/@typescript-eslint/tsconfig-utils": {
|
||||||
"version": "8.46.4",
|
"version": "8.48.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.46.4.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.48.0.tgz",
|
||||||
"integrity": "sha512-+/XqaZPIAk6Cjg7NWgSGe27X4zMGqrFqZ8atJsX3CWxH/jACqWnrWI68h7nHQld0y+k9eTTjb9r+KU4twLoo9A==",
|
"integrity": "sha512-WNebjBdFdyu10sR1M4OXTt2OkMd5KWIL+LLfeH9KhgP+jzfDV/LI3eXzwJ1s9+Yc0Kzo2fQCdY/OpdusCMmh6w==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -2790,15 +2791,15 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/type-utils": {
|
"node_modules/@typescript-eslint/type-utils": {
|
||||||
"version": "8.46.4",
|
"version": "8.48.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.46.4.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.48.0.tgz",
|
||||||
"integrity": "sha512-V4QC8h3fdT5Wro6vANk6eojqfbv5bpwHuMsBcJUJkqs2z5XnYhJzyz9Y02eUmF9u3PgXEUiOt4w4KHR3P+z0PQ==",
|
"integrity": "sha512-zbeVaVqeXhhab6QNEKfK96Xyc7UQuoFWERhEnj3mLVnUWrQnv15cJNseUni7f3g557gm0e46LZ6IJ4NJVOgOpw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.46.4",
|
"@typescript-eslint/types": "8.48.0",
|
||||||
"@typescript-eslint/typescript-estree": "8.46.4",
|
"@typescript-eslint/typescript-estree": "8.48.0",
|
||||||
"@typescript-eslint/utils": "8.46.4",
|
"@typescript-eslint/utils": "8.48.0",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"ts-api-utils": "^2.1.0"
|
"ts-api-utils": "^2.1.0"
|
||||||
},
|
},
|
||||||
@@ -2815,14 +2816,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager": {
|
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager": {
|
||||||
"version": "8.46.4",
|
"version": "8.48.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.46.4.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.48.0.tgz",
|
||||||
"integrity": "sha512-tMDbLGXb1wC+McN1M6QeDx7P7c0UWO5z9CXqp7J8E+xGcJuUuevWKxuG8j41FoweS3+L41SkyKKkia16jpX7CA==",
|
"integrity": "sha512-uGSSsbrtJrLduti0Q1Q9+BF1/iFKaxGoQwjWOIVNJv0o6omrdyR8ct37m4xIl5Zzpkp69Kkmvom7QFTtue89YQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.46.4",
|
"@typescript-eslint/types": "8.48.0",
|
||||||
"@typescript-eslint/visitor-keys": "8.46.4"
|
"@typescript-eslint/visitor-keys": "8.48.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||||
@@ -2833,9 +2834,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": {
|
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": {
|
||||||
"version": "8.46.4",
|
"version": "8.48.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.46.4.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.48.0.tgz",
|
||||||
"integrity": "sha512-USjyxm3gQEePdUwJBFjjGNG18xY9A2grDVGuk7/9AkjIF1L+ZrVnwR5VAU5JXtUnBL/Nwt3H31KlRDaksnM7/w==",
|
"integrity": "sha512-cQMcGQQH7kwKoVswD1xdOytxQR60MWKM1di26xSUtxehaDs/32Zpqsu5WJlXTtTTqyAVK8R7hvsUnIXRS+bjvA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -2847,21 +2848,20 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": {
|
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": {
|
||||||
"version": "8.46.4",
|
"version": "8.48.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.46.4.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.48.0.tgz",
|
||||||
"integrity": "sha512-7oV2qEOr1d4NWNmpXLR35LvCfOkTNymY9oyW+lUHkmCno7aOmIf/hMaydnJBUTBMRCOGZh8YjkFOc8dadEoNGA==",
|
"integrity": "sha512-ljHab1CSO4rGrQIAyizUS6UGHHCiAYhbfcIZ1zVJr5nMryxlXMVWS3duFPSKvSUbFPwkXMFk1k0EMIjub4sRRQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/project-service": "8.46.4",
|
"@typescript-eslint/project-service": "8.48.0",
|
||||||
"@typescript-eslint/tsconfig-utils": "8.46.4",
|
"@typescript-eslint/tsconfig-utils": "8.48.0",
|
||||||
"@typescript-eslint/types": "8.46.4",
|
"@typescript-eslint/types": "8.48.0",
|
||||||
"@typescript-eslint/visitor-keys": "8.46.4",
|
"@typescript-eslint/visitor-keys": "8.48.0",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"fast-glob": "^3.3.2",
|
|
||||||
"is-glob": "^4.0.3",
|
|
||||||
"minimatch": "^9.0.4",
|
"minimatch": "^9.0.4",
|
||||||
"semver": "^7.6.0",
|
"semver": "^7.6.0",
|
||||||
|
"tinyglobby": "^0.2.15",
|
||||||
"ts-api-utils": "^2.1.0"
|
"ts-api-utils": "^2.1.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -2876,16 +2876,16 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": {
|
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": {
|
||||||
"version": "8.46.4",
|
"version": "8.48.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.46.4.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.48.0.tgz",
|
||||||
"integrity": "sha512-AbSv11fklGXV6T28dp2Me04Uw90R2iJ30g2bgLz529Koehrmkbs1r7paFqr1vPCZi7hHwYxYtxfyQMRC8QaVSg==",
|
"integrity": "sha512-yTJO1XuGxCsSfIVt1+1UrLHtue8xz16V8apzPYI06W0HbEbEWHxHXgZaAgavIkoh+GeV6hKKd5jm0sS6OYxWXQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint-community/eslint-utils": "^4.7.0",
|
"@eslint-community/eslint-utils": "^4.7.0",
|
||||||
"@typescript-eslint/scope-manager": "8.46.4",
|
"@typescript-eslint/scope-manager": "8.48.0",
|
||||||
"@typescript-eslint/types": "8.46.4",
|
"@typescript-eslint/types": "8.48.0",
|
||||||
"@typescript-eslint/typescript-estree": "8.46.4"
|
"@typescript-eslint/typescript-estree": "8.48.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||||
@@ -2900,13 +2900,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": {
|
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": {
|
||||||
"version": "8.46.4",
|
"version": "8.48.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.46.4.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.48.0.tgz",
|
||||||
"integrity": "sha512-/++5CYLQqsO9HFGLI7APrxBJYo+5OCMpViuhV8q5/Qa3o5mMrF//eQHks+PXcsAVaLdn817fMuS7zqoXNNZGaw==",
|
"integrity": "sha512-T0XJMaRPOH3+LBbAfzR2jalckP1MSG/L9eUtY0DEzUyVaXJ/t6zN0nR7co5kz0Jko/nkSYCBRkz1djvjajVTTg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "8.46.4",
|
"@typescript-eslint/types": "8.48.0",
|
||||||
"eslint-visitor-keys": "^4.2.1"
|
"eslint-visitor-keys": "^4.2.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -3164,6 +3164,7 @@
|
|||||||
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz",
|
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz",
|
||||||
"integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==",
|
"integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"peer": true,
|
||||||
"bin": {
|
"bin": {
|
||||||
"acorn": "bin/acorn"
|
"acorn": "bin/acorn"
|
||||||
},
|
},
|
||||||
@@ -3739,6 +3740,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"peer": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"caniuse-lite": "^1.0.30001669",
|
"caniuse-lite": "^1.0.30001669",
|
||||||
"electron-to-chromium": "^1.5.41",
|
"electron-to-chromium": "^1.5.41",
|
||||||
@@ -4592,6 +4594,7 @@
|
|||||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz",
|
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz",
|
||||||
"integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==",
|
"integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"peer": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint-community/eslint-utils": "^4.2.0",
|
"@eslint-community/eslint-utils": "^4.2.0",
|
||||||
"@eslint-community/regexpp": "^4.6.1",
|
"@eslint-community/regexpp": "^4.6.1",
|
||||||
@@ -4646,6 +4649,7 @@
|
|||||||
"version": "8.3.0",
|
"version": "8.3.0",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"peer": true,
|
||||||
"bin": {
|
"bin": {
|
||||||
"eslint-config-prettier": "bin/cli.js"
|
"eslint-config-prettier": "bin/cli.js"
|
||||||
},
|
},
|
||||||
@@ -4917,6 +4921,7 @@
|
|||||||
"resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz",
|
||||||
"integrity": "sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==",
|
"integrity": "sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"peer": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"array-includes": "^3.1.7",
|
"array-includes": "^3.1.7",
|
||||||
"array.prototype.findlastindex": "^1.2.3",
|
"array.prototype.findlastindex": "^1.2.3",
|
||||||
@@ -4952,9 +4957,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint-plugin-jsdoc": {
|
"node_modules/eslint-plugin-jsdoc": {
|
||||||
"version": "61.2.1",
|
"version": "61.4.1",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-61.2.1.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-61.4.1.tgz",
|
||||||
"integrity": "sha512-Htacti3dbkNm4rlp/Bk9lqhv+gi6US9jyN22yaJ42G6wbteiTbNLChQwi25jr/BN+NOzDWhZHvCDdrhX0F8dXQ==",
|
"integrity": "sha512-3c1QW/bV25sJ1MsIvsvW+EtLtN6yZMduw7LVQNVt72y2/5BbV5Pg5b//TE5T48LRUxoEQGaZJejCmcj3wCxBzw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -6972,9 +6977,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/node-forge": {
|
"node_modules/node-forge": {
|
||||||
"version": "1.3.1",
|
"version": "1.3.2",
|
||||||
"resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.1.tgz",
|
"resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.2.tgz",
|
||||||
"integrity": "sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==",
|
"integrity": "sha512-6xKiQ+cph9KImrRh0VsjH2d8/GXA4FIMlgU4B757iI1ApvcyA9VlouP0yZJha01V+huImO+kKMU7ih+2+E14fw==",
|
||||||
|
"license": "(BSD-3-Clause OR GPL-2.0)",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 6.13.0"
|
"node": ">= 6.13.0"
|
||||||
}
|
}
|
||||||
@@ -7351,6 +7357,7 @@
|
|||||||
"integrity": "sha512-G+YdqtITVZmOJje6QkXQWzl3fSfMxFwm1tjTyo9exhkmWSqC4Yhd1+lug++IlR2mvRVAxEDDWYkQdeSztajqgg==",
|
"integrity": "sha512-G+YdqtITVZmOJje6QkXQWzl3fSfMxFwm1tjTyo9exhkmWSqC4Yhd1+lug++IlR2mvRVAxEDDWYkQdeSztajqgg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"peer": true,
|
||||||
"bin": {
|
"bin": {
|
||||||
"prettier": "bin/prettier.cjs"
|
"prettier": "bin/prettier.cjs"
|
||||||
},
|
},
|
||||||
@@ -8304,14 +8311,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/tinyglobby": {
|
"node_modules/tinyglobby": {
|
||||||
"version": "0.2.12",
|
"version": "0.2.15",
|
||||||
"resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.12.tgz",
|
"resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.15.tgz",
|
||||||
"integrity": "sha512-qkf4trmKSIiMTs/E63cxH+ojC2unam7rJ0WrauAzpT3ECNTxGRMlaXxVbfxMUC/w0LaYk6jQ4y/nGR9uBO3tww==",
|
"integrity": "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fdir": "^6.4.3",
|
"fdir": "^6.5.0",
|
||||||
"picomatch": "^4.0.2"
|
"picomatch": "^4.0.3"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=12.0.0"
|
"node": ">=12.0.0"
|
||||||
@@ -8321,11 +8328,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/tinyglobby/node_modules/fdir": {
|
"node_modules/tinyglobby/node_modules/fdir": {
|
||||||
"version": "6.4.3",
|
"version": "6.5.0",
|
||||||
"resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.3.tgz",
|
"resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
|
||||||
"integrity": "sha512-PMXmW2y1hDDfTSRc9gaXIuCCRpuoz3Kaz8cUelp3smouvfT632ozg2vrT6lJsHKKOF59YLbOGfAWGUcKEfRMQw==",
|
"integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12.0.0"
|
||||||
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"picomatch": "^3 || ^4"
|
"picomatch": "^3 || ^4"
|
||||||
},
|
},
|
||||||
@@ -8336,11 +8346,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/tinyglobby/node_modules/picomatch": {
|
"node_modules/tinyglobby/node_modules/picomatch": {
|
||||||
"version": "4.0.2",
|
"version": "4.0.3",
|
||||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
|
||||||
"integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==",
|
"integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"peer": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=12"
|
"node": ">=12"
|
||||||
},
|
},
|
||||||
@@ -8549,6 +8560,7 @@
|
|||||||
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
|
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
|
"peer": true,
|
||||||
"bin": {
|
"bin": {
|
||||||
"tsc": "bin/tsc",
|
"tsc": "bin/tsc",
|
||||||
"tsserver": "bin/tsserver"
|
"tsserver": "bin/tsserver"
|
||||||
@@ -8622,6 +8634,7 @@
|
|||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.17.0.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.17.0.tgz",
|
||||||
"integrity": "sha512-Drp39TXuUlD49F7ilHHCG7TTg8IkA+hxCuULdmzWYICxGXvDXmDmWEjJYZQYgf6l/TFfYNE167m7isnc3xlIEg==",
|
"integrity": "sha512-Drp39TXuUlD49F7ilHHCG7TTg8IkA+hxCuULdmzWYICxGXvDXmDmWEjJYZQYgf6l/TFfYNE167m7isnc3xlIEg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"peer": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/scope-manager": "8.17.0",
|
"@typescript-eslint/scope-manager": "8.17.0",
|
||||||
"@typescript-eslint/types": "8.17.0",
|
"@typescript-eslint/types": "8.17.0",
|
||||||
|
|||||||
12
package.json
12
package.json
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "codeql",
|
"name": "codeql",
|
||||||
"version": "4.31.5",
|
"version": "3.31.8",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "CodeQL action",
|
"description": "CodeQL action",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -43,14 +43,14 @@
|
|||||||
"js-yaml": "^4.1.1",
|
"js-yaml": "^4.1.1",
|
||||||
"jsonschema": "1.4.1",
|
"jsonschema": "1.4.1",
|
||||||
"long": "^5.3.2",
|
"long": "^5.3.2",
|
||||||
"node-forge": "^1.3.1",
|
"node-forge": "^1.3.2",
|
||||||
"semver": "^7.7.3",
|
"semver": "^7.7.3",
|
||||||
"uuid": "^13.0.0"
|
"uuid": "^13.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@ava/typescript": "6.0.0",
|
"@ava/typescript": "6.0.0",
|
||||||
"@eslint/compat": "^2.0.0",
|
"@eslint/compat": "^2.0.0",
|
||||||
"@eslint/eslintrc": "^3.3.1",
|
"@eslint/eslintrc": "^3.3.3",
|
||||||
"@eslint/js": "^9.39.1",
|
"@eslint/js": "^9.39.1",
|
||||||
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
||||||
"@octokit/types": "^16.0.0",
|
"@octokit/types": "^16.0.0",
|
||||||
@@ -61,8 +61,8 @@
|
|||||||
"@types/node-forge": "^1.3.14",
|
"@types/node-forge": "^1.3.14",
|
||||||
"@types/semver": "^7.7.1",
|
"@types/semver": "^7.7.1",
|
||||||
"@types/sinon": "^21.0.0",
|
"@types/sinon": "^21.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.46.4",
|
"@typescript-eslint/eslint-plugin": "^8.48.0",
|
||||||
"@typescript-eslint/parser": "^8.41.0",
|
"@typescript-eslint/parser": "^8.48.0",
|
||||||
"ava": "^6.4.1",
|
"ava": "^6.4.1",
|
||||||
"esbuild": "^0.27.0",
|
"esbuild": "^0.27.0",
|
||||||
"eslint": "^8.57.1",
|
"eslint": "^8.57.1",
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
"eslint-plugin-filenames": "^1.3.2",
|
"eslint-plugin-filenames": "^1.3.2",
|
||||||
"eslint-plugin-github": "^5.1.8",
|
"eslint-plugin-github": "^5.1.8",
|
||||||
"eslint-plugin-import": "2.29.1",
|
"eslint-plugin-import": "2.29.1",
|
||||||
"eslint-plugin-jsdoc": "^61.2.1",
|
"eslint-plugin-jsdoc": "^61.4.1",
|
||||||
"eslint-plugin-no-async-foreach": "^0.1.1",
|
"eslint-plugin-no-async-foreach": "^0.1.1",
|
||||||
"glob": "^11.1.0",
|
"glob": "^11.1.0",
|
||||||
"nock": "^14.0.10",
|
"nock": "^14.0.10",
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ permissions:
|
|||||||
security-events: write # needed to upload the SARIF file
|
security-events: write # needed to upload the SARIF file
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v6
|
||||||
- uses: ./init
|
- uses: ./init
|
||||||
with:
|
with:
|
||||||
languages: javascript
|
languages: javascript
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ steps:
|
|||||||
rm -rf ./* .github .git
|
rm -rf ./* .github .git
|
||||||
# Check out the actions repo again, but at a different location.
|
# Check out the actions repo again, but at a different location.
|
||||||
# choose an arbitrary SHA so that we can later test that the commit_oid is not from main
|
# choose an arbitrary SHA so that we can later test that the commit_oid is not from main
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
ref: 474bbf07f9247ffe1856c6a0f94aeeb10e7afee6
|
ref: 474bbf07f9247ffe1856c6a0f94aeeb10e7afee6
|
||||||
path: x/y/z/some-path
|
path: x/y/z/some-path
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ for file in sorted((this_dir / 'checks').glob('*.yml')):
|
|||||||
steps = [
|
steps = [
|
||||||
{
|
{
|
||||||
'name': 'Check out repository',
|
'name': 'Check out repository',
|
||||||
'uses': 'actions/checkout@v5'
|
'uses': 'actions/checkout@v6'
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -356,11 +356,6 @@ for collection_name in collections:
|
|||||||
'GO111MODULE': 'auto'
|
'GO111MODULE': 'auto'
|
||||||
},
|
},
|
||||||
'on': {
|
'on': {
|
||||||
'push': {
|
|
||||||
'paths': [
|
|
||||||
f'.github/workflows/__{collection_name}.yml'
|
|
||||||
]
|
|
||||||
},
|
|
||||||
'workflow_dispatch': {
|
'workflow_dispatch': {
|
||||||
'inputs': combinedInputs
|
'inputs': combinedInputs
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -21,5 +21,5 @@ outputs:
|
|||||||
environment:
|
environment:
|
||||||
description: The inferred build environment configuration.
|
description: The inferred build environment configuration.
|
||||||
runs:
|
runs:
|
||||||
using: node24
|
using: node20
|
||||||
main: '../lib/resolve-environment-action.js'
|
main: '../lib/resolve-environment-action.js'
|
||||||
|
|||||||
@@ -35,5 +35,5 @@ outputs:
|
|||||||
codeql-version:
|
codeql-version:
|
||||||
description: The version of the CodeQL binary that was installed.
|
description: The version of the CodeQL binary that was installed.
|
||||||
runs:
|
runs:
|
||||||
using: node24
|
using: node20
|
||||||
main: '../lib/setup-codeql-action.js'
|
main: '../lib/setup-codeql-action.js'
|
||||||
|
|||||||
@@ -74,11 +74,20 @@ test("analyze action with RAM & threads from environment variables", async (t) =
|
|||||||
// wait for the action promise to complete before starting verification.
|
// wait for the action promise to complete before starting verification.
|
||||||
await analyzeAction.runPromise;
|
await analyzeAction.runPromise;
|
||||||
|
|
||||||
t.assert(runFinalizeStub.calledOnce);
|
t.assert(
|
||||||
t.deepEqual(runFinalizeStub.firstCall.args[1], "--threads=-1");
|
runFinalizeStub.calledOnceWith(
|
||||||
t.deepEqual(runFinalizeStub.firstCall.args[2], "--ram=4992");
|
sinon.match.any,
|
||||||
t.assert(runQueriesStub.calledOnce);
|
sinon.match.any,
|
||||||
t.deepEqual(runQueriesStub.firstCall.args[2], "--threads=-1");
|
"--threads=-1",
|
||||||
t.deepEqual(runQueriesStub.firstCall.args[1], "--ram=4992");
|
"--ram=4992",
|
||||||
|
),
|
||||||
|
);
|
||||||
|
t.assert(
|
||||||
|
runQueriesStub.calledOnceWith(
|
||||||
|
sinon.match.any,
|
||||||
|
"--ram=4992",
|
||||||
|
"--threads=-1",
|
||||||
|
),
|
||||||
|
);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -72,11 +72,20 @@ test("analyze action with RAM & threads from action inputs", async (t) => {
|
|||||||
// wait for the action promise to complete before starting verification.
|
// wait for the action promise to complete before starting verification.
|
||||||
await analyzeAction.runPromise;
|
await analyzeAction.runPromise;
|
||||||
|
|
||||||
t.assert(runFinalizeStub.calledOnce);
|
t.assert(
|
||||||
t.deepEqual(runFinalizeStub.firstCall.args[1], "--threads=-1");
|
runFinalizeStub.calledOnceWith(
|
||||||
t.deepEqual(runFinalizeStub.firstCall.args[2], "--ram=3012");
|
sinon.match.any,
|
||||||
t.assert(runQueriesStub.calledOnce);
|
sinon.match.any,
|
||||||
t.deepEqual(runQueriesStub.firstCall.args[2], "--threads=-1");
|
"--threads=-1",
|
||||||
t.deepEqual(runQueriesStub.firstCall.args[1], "--ram=3012");
|
"--ram=3012",
|
||||||
|
),
|
||||||
|
);
|
||||||
|
t.assert(
|
||||||
|
runQueriesStub.calledOnceWith(
|
||||||
|
sinon.match.any,
|
||||||
|
"--ram=3012",
|
||||||
|
"--threads=-1",
|
||||||
|
),
|
||||||
|
);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user