mirror of
https://github.com/github/codeql.git
synced 2026-05-01 11:45:14 +02:00
Merge pull request #32 from GitHubSecurityLab/choose-suite
This commit is contained in:
2
.github/action/dist/index.js
vendored
2
.github/action/dist/index.js
vendored
@@ -28607,7 +28607,7 @@ async function newCodeQL() {
|
||||
language: "yaml",
|
||||
path: await findCodeQL(),
|
||||
pack: "githubsecuritylab/actions-queries",
|
||||
suite: "codeql-suites/actions-code-scanning.qls",
|
||||
suite: `codeql-suites/${core.getInput("suite") || "actions-code-scanning"}.qls`,
|
||||
source_root: core.getInput("source-root"),
|
||||
output: core.getInput("sarif"),
|
||||
};
|
||||
|
||||
2
.github/action/src/codeql.ts
vendored
2
.github/action/src/codeql.ts
vendored
@@ -25,7 +25,7 @@ export async function newCodeQL(): Promise<CodeQLConfig> {
|
||||
language: "yaml",
|
||||
path: await findCodeQL(),
|
||||
pack: "githubsecuritylab/actions-queries",
|
||||
suite: "codeql-suites/actions-code-scanning.qls",
|
||||
suite: `codeql-suites/${core.getInput("suite") || "actions-code-scanning"}.qls`,
|
||||
source_root: core.getInput("source-root"),
|
||||
output: core.getInput("sarif"),
|
||||
};
|
||||
|
||||
@@ -14,6 +14,10 @@ inputs:
|
||||
description: "SARIF File Output"
|
||||
default: "codeql-actions.sarif"
|
||||
|
||||
suite:
|
||||
description: "CodeQL Suite to run"
|
||||
default: "actions-code-scanning"
|
||||
|
||||
runs:
|
||||
using: 'composite'
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user