Ignore static/web for codeql (#3397)

* Ignore static/web for codeql

* use different config for different languages

* put something in go config
This commit is contained in:
Matthew Donoughe 2023-10-27 22:44:09 -04:00 committed by GitHub
parent 3cf550c916
commit 448659e1c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

1
.github/codeql/go.yml vendored Normal file
View File

@ -0,0 +1 @@
name: Go config

4
.github/codeql/javascript.yml vendored Normal file
View File

@ -0,0 +1,4 @@
name: Javascript config
paths-ignore:
- static/web

View File

@ -44,6 +44,7 @@ jobs:
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/${{ matrix.language }}.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.