Skip to content

Commit c5fce6c

Browse files
Add config section to CodeQL workflow with query filters and paths-ignore
Co-authored-by: mickeygousset <[email protected]>
1 parent dedc944 commit c5fce6c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,16 @@ jobs:
3939
queries: +security-and-quality
4040
build-mode: none
4141
dependency-caching: true
42+
config: |
43+
query-filters:
44+
- exclude:
45+
id: java/missing-call-to-super-finalize
46+
- exclude:
47+
id: java/unread-local-variable
48+
paths-ignore:
49+
- '**/test/**'
50+
- '**/tests/**'
51+
- '**/*.test.java'
4252
4353
# Autobuild attempts to build any compiled languages (Java, C#, Go, etc.)
4454
# If this step fails, remove it and run the build manually instead

0 commit comments

Comments
 (0)