Re-enable CodeQL for Javascript (#1209)

* Create codeql-config.yml

* Update codeql-analysis.yml

Add config to exclude certain files
This commit is contained in:
Jauder Ho 2021-07-21 08:43:35 -07:00 committed by GitHub
parent 0770e64c90
commit 997995eb4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

4
.github/codeql/codeql-config.yml vendored Normal file
View file

@ -0,0 +1,4 @@
name: "CodeQL config"
paths-ignore:
- docs/flattener/flattener.js

View file

@ -29,8 +29,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'go' ]
#language: [ 'go', 'javascript' ]
language: [ 'go', '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
@ -44,6 +43,7 @@ jobs:
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/codeql-config.yml
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.