chore: reduce codeql job frequency

This commit is contained in:
mathuo 2021-06-21 21:11:03 +01:00
parent 29f6775af6
commit c94987d88c

View File

@ -6,13 +6,13 @@
name: "CodeQL" name: "CodeQL"
on: on:
push: # push:
branches: [master] # branches: [master]
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]
schedule: schedule:
- cron: '0 4 * * 1' - cron: "0 4 * * *"
jobs: jobs:
analyze: analyze:
@ -24,7 +24,7 @@ jobs:
matrix: matrix:
# Override automatic language detection by changing the below list # Override automatic language detection by changing the below list
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python'] # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
language: ['javascript'] language: ["javascript"]
# Learn more... # Learn more...
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection