(gh action): Update CodeQL workflow file

This commit is contained in:
Ken Hibino 2021-10-22 06:36:52 -07:00
parent 32c5bac6cc
commit 22599a9bdc

View File

@ -3,11 +3,17 @@ name: "CodeQL"
on: on:
push: push:
branches: [master] branches: [master]
paths-ignore:
- ui/build
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: [master] branches: [master]
paths-ignore:
- ui/build
schedule: schedule:
- cron: '24 0 * * 6' - cron: "24 0 * * 6"
paths-ignore:
- ui/build
jobs: jobs:
analyze: analyze:
@ -17,7 +23,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
language: [ 'go', 'javascript' ] language: ["go", "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