From 09c2ba4280c91840c176bab80b056b5aca9e5246 Mon Sep 17 00:00:00 2001 From: Jorge <46056498+jorgectf@users.noreply.github.com> Date: Fri, 15 Mar 2024 16:39:18 +0100 Subject: [PATCH 1/2] Make action download `actions-all` --- .github/action/src/codeql.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/action/src/codeql.ts b/.github/action/src/codeql.ts index 56615fa80ce..0fcdd81ee3f 100644 --- a/.github/action/src/codeql.ts +++ b/.github/action/src/codeql.ts @@ -24,7 +24,7 @@ export async function newCodeQL(): Promise { 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"), From e60c0b875fd69025fc695601e8981bbf4dae1b6f Mon Sep 17 00:00:00 2001 From: Jorge <46056498+jorgectf@users.noreply.github.com> Date: Fri, 15 Mar 2024 22:01:06 +0000 Subject: [PATCH 2/2] Fix inputs for composite action --- action.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/action.yml b/action.yml index e8f13962e81..9281212ea24 100644 --- a/action.yml +++ b/action.yml @@ -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