mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-03-10 10:02:36 +01:00
exclude files for Initialize CodeQL
This commit is contained in:
parent
1688310e04
commit
dc6e5c104d
2 changed files with 9 additions and 1 deletions
6
.codeql-config.yml
Normal file
6
.codeql-config.yml
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
paths:
|
||||||
|
exclude:
|
||||||
|
- "**/test/**"
|
||||||
|
- "**/__tests__/**"
|
||||||
|
- "**/*.spec.*"
|
||||||
|
- "**/*.test.*"
|
||||||
4
.github/workflows/codeql.yml
vendored
4
.github/workflows/codeql.yml
vendored
|
|
@ -66,6 +66,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
languages: ${{ matrix.language }}
|
languages: ${{ matrix.language }}
|
||||||
build-mode: ${{ matrix.build-mode }}
|
build-mode: ${{ matrix.build-mode }}
|
||||||
|
# Use our custom configuration file to exclude test files.
|
||||||
|
config-file: .codeql-config.yml
|
||||||
# If you wish to specify custom queries, you can do so here or in a config file.
|
# 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.
|
# By default, queries listed here will override any specified in a config file.
|
||||||
# To add queries to those specified in your config file, prefix the list here with "+"
|
# To add queries to those specified in your config file, prefix the list here with "+"
|
||||||
|
|
@ -92,4 +94,4 @@ jobs:
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
uses: github/codeql-action/analyze@v3
|
uses: github/codeql-action/analyze@v3
|
||||||
with:
|
with:
|
||||||
category: "/language:${{ matrix.language }}"
|
category: "/language:${{ matrix.language }}"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue