mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 07:05:11 +00:00
ci: configure codeql to ignore tests
This commit is contained in:
parent
1b53df5bfb
commit
d5f98a7578
10
.github/codeql/codeql-config.yml
vendored
Normal file
10
.github/codeql/codeql-config.yml
vendored
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
paths:
|
||||||
|
- 'packages/*/dist/**'
|
||||||
|
- 'packages/nuxt/bin/**'
|
||||||
|
- 'packages/schema/schema/**'
|
||||||
|
paths-ignore:
|
||||||
|
- 'test/**'
|
||||||
|
- '**/*.test.js'
|
||||||
|
- '**/*.test.ts'
|
||||||
|
- '**/*.test.tsx'
|
||||||
|
- '**/__tests__/**'
|
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -87,6 +87,16 @@ jobs:
|
|||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@4dd16135b69a43b6c8efb853346f8437d92d3c93 # v3.26.6
|
uses: github/codeql-action/init@4dd16135b69a43b6c8efb853346f8437d92d3c93 # v3.26.6
|
||||||
with:
|
with:
|
||||||
|
config: |
|
||||||
|
paths:
|
||||||
|
- 'packages/*/dist/**'
|
||||||
|
- 'packages/nuxt/bin/**'
|
||||||
|
- 'packages/schema/schema/**'
|
||||||
|
paths-ignore:
|
||||||
|
- 'test/**'
|
||||||
|
- '**/*.spec.ts'
|
||||||
|
- '**/*.test.ts'
|
||||||
|
- '**/__snapshots__/**'
|
||||||
languages: javascript
|
languages: javascript
|
||||||
queries: +security-and-quality
|
queries: +security-and-quality
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user