Skip to content

Commit 84b8278

Browse files
authoredDec 20, 2021
Prevent CodeQL from scanning irrelevant files
1 parent 5b19bf4 commit 84b8278

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎.github/workflows/codeql-analysis.yml

+8
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,18 @@
1111
#
1212
name: "CodeQL"
1313

14+
paths: &PATHS
15+
- 'modules/**/*.js'
16+
- 'rollup*.js'
17+
- 'index.html'
18+
1419
on:
1520
push:
1621
branches: [ master ]
1722
pull_request:
1823
# The branches below must be a subset of the branches above
1924
branches: [ master ]
25+
paths: *PATHS
2026
schedule:
2127
- cron: '16 8 * * 3'
2228

@@ -68,3 +74,5 @@ jobs:
6874

6975
- name: Perform CodeQL Analysis
7076
uses: github/codeql-action/analyze@v1
77+
with:
78+
config-file: ./.github/workflows/codeql-analysis.yml

0 commit comments

Comments
 (0)
Please sign in to comment.