Skip to content

Commit 79c65b3

Browse files
committed
build(security): correct scan path for CodeQL
1 parent 6b34901 commit 79c65b3

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/codeql/codeql-config.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
paths-ignore:
2+
- "assets/js"

.github/workflows/codeql.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: "CodeQL"
22

33
on:
44
push:
5-
paths: ["_javascript/**.js"]
5+
paths: ["_javascript/**/*.js"]
66
pull_request:
7-
paths: ["_javascript/**.js"]
7+
paths: ["_javascript/**/*.js"]
88

99
jobs:
1010
analyze:
@@ -30,6 +30,7 @@ jobs:
3030
uses: github/codeql-action/init@v3
3131
with:
3232
languages: "${{ matrix.language }}"
33+
config-file: .github/codeql/codeql-config.yml
3334

3435
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
3536
# If this step fails, then you should remove it and run the build manually (see below)

0 commit comments

Comments
 (0)