chore: fix CodeQL issue (#2727)

fix CodeQL issue
This commit is contained in:
Mayukha Vadari
2024-09-19 15:00:06 -04:00
committed by GitHub
parent 385a56a1f7
commit 8bfe5b42b8

View File

@@ -12,13 +12,11 @@
name: "CodeQL" name: "CodeQL"
on: on:
push:
branches: [ main, 1.x ]
pull_request: pull_request:
# The branches below must be a subset of the branches above # The branches below must be a subset of the branches above
branches: [main] branches: [main]
schedule: schedule:
- cron: '44 5 * * 6' - cron: "44 5 * * 6"
jobs: jobs:
analyze: analyze:
@@ -28,7 +26,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
language: [ 'javascript' ] language: ["javascript"]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more: # 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 # 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