File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28607,7 +28607,7 @@ async function newCodeQL() {
2860728607 language: "yaml",
2860828608 path: await findCodeQL(),
2860928609 pack: "githubsecuritylab/actions-queries",
28610- suite: " codeql-suites/actions-code-scanning.qls" ,
28610+ suite: ` codeql-suites/${core.getInput("suite") || " actions-code-scanning"} .qls` ,
2861128611 source_root: core.getInput("source-root"),
2861228612 output: core.getInput("sarif"),
2861328613 };
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export async function newCodeQL(): Promise<CodeQLConfig> {
2525 language : "yaml" ,
2626 path : await findCodeQL ( ) ,
2727 pack : "githubsecuritylab/actions-queries" ,
28- suite : " codeql-suites/actions-code-scanning.qls" ,
28+ suite : ` codeql-suites/${ core . getInput ( "suite" ) || " actions-code-scanning" } .qls` ,
2929 source_root : core . getInput ( "source-root" ) ,
3030 output : core . getInput ( "sarif" ) ,
3131 } ;
Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ inputs:
1414 description : " SARIF File Output"
1515 default : " codeql-actions.sarif"
1616
17+ suite :
18+ description : " CodeQL Suite to run"
19+ default : " actions-code-scanning"
20+
1721runs :
1822 using : ' composite'
1923 steps :
You can’t perform that action at this time.
0 commit comments