Skip to content

Commit 79c9ceb

Browse files
committed
Ignore test files
1 parent 3380b37 commit 79c9ceb

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/codeql/codeql-config.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
paths-ignore:
2+
- '**/*.test.ts'
3+
- '**/*.spec.ts'
4+
- '**/__tests__/**'
5+
- '**/tests/**'
6+
- '**/test/**'
7+
- '**/test-files/**'
8+
- '**/dist/**'
9+
- '**/node_modules/**'
10+
- '**/scripts/**'

.github/workflows/codeql.yml

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ jobs:
7373
- name: Initialize CodeQL
7474
uses: github/codeql-action/init@v3
7575
with:
76+
config-file: ./.github/codeql/codeql-config.yml
7677
languages: ${{ matrix.language }}
7778
build-mode: ${{ matrix.build-mode }}
7879
# If you wish to specify custom queries, you can do so here or in a config file.

0 commit comments

Comments
 (0)