This commit is contained in:
Alvaro Muñoz
2024-03-18 11:00:30 +01:00
2 changed files with 4 additions and 1 deletions

View File

@@ -24,7 +24,7 @@ export async function newCodeQL(): Promise<CodeQLConfig> {
return {
language: "yaml",
path: await findCodeQL(),
pack: "githubsecuritylab/actions-queries",
pack: "githubsecuritylab/actions-all",
suite: `codeql-suites/${core.getInput("suite") || "actions-code-scanning"}.qls`,
source_root: core.getInput("source-root"),
output: core.getInput("sarif"),

View File

@@ -26,5 +26,8 @@ runs:
env:
GITHUB_TOKEN: ${{ inputs.token }}
GH_TOKEN: ${{ inputs.token }}
INPUT_SOURCE-ROOT: ${{ inputs.source-root }}
INPUT_SARIF-OUTPUT: ${{ inputs.sarif-output }}
INPUT_SUITE: ${{ inputs.suite }}
run: |
node ${{ github.action_path }}/.github/action/dist/index.js