File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -28607,7 +28607,7 @@ async function newCodeQL() {
28607
28607
language: "yaml",
28608
28608
path: await findCodeQL(),
28609
28609
pack: "githubsecuritylab/actions-queries",
28610
- suite: " codeql-suites/actions-code-scanning.qls" ,
28610
+ suite: ` codeql-suites/${core.getInput("suite") || " actions-code-scanning"} .qls` ,
28611
28611
source_root: core.getInput("source-root"),
28612
28612
output: core.getInput("sarif"),
28613
28613
};
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export async function newCodeQL(): Promise<CodeQLConfig> {
25
25
language : "yaml" ,
26
26
path : await findCodeQL ( ) ,
27
27
pack : "githubsecuritylab/actions-queries" ,
28
- suite : " codeql-suites/actions-code-scanning.qls" ,
28
+ suite : ` codeql-suites/${ core . getInput ( "suite" ) || " actions-code-scanning" } .qls` ,
29
29
source_root : core . getInput ( "source-root" ) ,
30
30
output : core . getInput ( "sarif" ) ,
31
31
} ;
Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ inputs:
14
14
description : " SARIF File Output"
15
15
default : " codeql-actions.sarif"
16
16
17
+ suite :
18
+ description : " CodeQL Suite to run"
19
+ default : " actions-code-scanning"
20
+
17
21
runs :
18
22
using : ' composite'
19
23
steps :
You can’t perform that action at this time.
0 commit comments