Skip to content

Commit 8639cbe

Browse files
committed
ci(codeql): try with alt qlpack.yml
1 parent a9670e8 commit 8639cbe

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/codeql/custom-queries-javascript/ShellSanitizer.ql renamed to .github/codeql/custom-queries-javascript/ShellSanitizer.qll

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,3 @@ class ShellArgSanitizer extends CommandInjection::Sanitizer {
1414
this.(DataFlow::CallNode).getCalleeName() = "sanitizeShellArg"
1515
}
1616
}
17-
18-
// needed to make the module valid https://codeql.github.com/docs/ql-language-reference/modules/#query-modules
19-
where 1 = 0 select "no-op"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
name: igniteui-cli-custom-javascript-queries
2+
version: 0.0.0
3+
dependencies:
4+
codeql/javascript-queries: "*"

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
# By default, queries listed here will override any specified in a config file.
5050
# Prefix the list here with "+" to use these queries and those in the config file.
5151
# queries: ./path/to/local/query, your-org/your-repo/queries@main
52-
queries: ./.github/codeql/custom-queries-javascript/ShellSanitizer.ql
52+
queries: ./.github/codeql/custom-queries-javascript
5353

5454
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5555
# If this step fails, then you should remove it and run the build manually (see below)

0 commit comments

Comments
 (0)