Skip to content

Commit 1fc75b4

Browse files
committed
CI: Exclude external files for CodeQL:
1 parent 4ecee55 commit 1fc75b4

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/codeql/codeql-config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
paths:
2+
- 'src'
3+
paths-ignore:
4+
- 'src/mini-gdbstub/**'
5+
- 'src/softfloat/**'

.github/workflows/codeql.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "CodeQL"
1+
name: CodeQL
22

33
on:
44
push:
@@ -30,6 +30,7 @@ jobs:
3030
- name: Initialize CodeQL
3131
uses: github/codeql-action/init@v3
3232
with:
33+
config-file: .github/codeql/codeql-config.yml
3334
languages: ${{ matrix.language }}
3435
queries: +security-and-quality
3536

0 commit comments

Comments
 (0)