From 5e858e5f1c41f82797df386f4897b9e224acc660 Mon Sep 17 00:00:00 2001 From: "ESCOBIDAL, INC." <105746199+JhovanEscobidal@users.noreply.github.com> Date: Sun, 22 Dec 2024 22:24:54 -0600 Subject: [PATCH] Update codeql-analysis.yml/* --- .github/workflows/codeql-analysis.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 778d474..351dbda 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -9,14 +9,15 @@ # the `language` matrix defined below to confirm you have the correct set of # supported CodeQL languages. # -name: "CodeQL" +name: "Code: SQL" -on: + on: push: - branches: [ main ] + branches: (main) pull_request: # The branches below must be a subset of the branches above branches: [ main ] + |(main)| schedule: - cron: '28 9 * * 0' @@ -31,11 +32,11 @@ jobs: strategy: fail-fast: false - matrix: - language: [ 'javascript' ] - # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] - # Learn more: - # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed + matrix: + language = en javascript + #– Code SQL supports [ 'cpp', csharp', 'go', 'java', 'javascript', 'python' ] + #– Learn more: + #– (S) https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed steps: - name: Checkout repository @@ -50,7 +51,7 @@ jobs: # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main - - run: npm ci + - run: npm cli - run: npm run build - run: rm -rf dist # We want code scanning to analyze lib instead (individual .js files)