From 858df49012e2583ce58303cb74404ca9744aa2f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alvaro=20Mu=C3=B1oz?= Date: Tue, 23 Apr 2024 13:08:27 +0200 Subject: [PATCH] Generate yaml file --- .github/action/dist/index.js | 2 +- .github/action/src/codeql.ts | 2 +- action.yml | 10 ++++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/action/dist/index.js b/.github/action/dist/index.js index 6f4a57b10fb..4a60299ef0f 100644 --- a/.github/action/dist/index.js +++ b/.github/action/dist/index.js @@ -28606,7 +28606,7 @@ async function newCodeQL() { return { language: "yaml", path: await findCodeQL(), - pack: "githubsecuritylab/actions-all", + pack: "githubsecuritylab/actions-queries", suite: `codeql-suites/${core.getInput("suite") || "actions-code-scanning"}.qls`, source_root: core.getInput("source-root"), output: core.getInput("sarif"), diff --git a/.github/action/src/codeql.ts b/.github/action/src/codeql.ts index b318cb1b3e2..842af1c8b17 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-all", + pack: "githubsecuritylab/actions-queries", suite: `codeql-suites/${core.getInput("suite") || "actions-code-scanning"}.qls`, source_root: core.getInput("source-root"), output: core.getInput("sarif"), diff --git a/action.yml b/action.yml index addc5588b8d..a9f9b2ad6cb 100644 --- a/action.yml +++ b/action.yml @@ -52,6 +52,16 @@ runs: echo "EXTPACK_PATH=./workflow-extpack" >> $GITHUB_ENV echo "EXTPACK_NAME=local/workflow-models" >> $GITHUB_ENV + - name: Show contents + shell: bash + run: | + echo "Directory contents" + ls -la + echo "Models" + if [ -f workflow-extpack/models.yml ]; then cat workflow-extpack/models.yml; fi + echo "QLPack" + if [ -f workflow-extpack/qlpack.yml ]; then cat workflow-extpack/qlpack.yml; fi + - name: Scan workflows shell: bash env: