Skip to content

Commit 58df108

Browse files
committedDec 20, 2021
Include test code in security scans
At second thought, somebody might use CVE-2021-42574 (Trojan source) or CVE-2021-42694 (homoglyph attack) in tests in order to target developers.
1 parent 99a9a29 commit 58df108

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
 

‎.github/config/codeql.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
paths:
2-
- 'modules/**/*.js'
2+
- 'modules/**'
3+
- 'test/**'
4+
- 'test-treeshake/**'
35
- 'rollup*.js'
46
- 'index.html'

‎.github/workflows/codeql-analysis.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ on:
1818
# The branches below must be a subset of the branches above
1919
branches: [ master ]
2020
paths:
21-
- 'modules/**/*.js'
21+
- 'modules/**'
22+
- 'test/**'
23+
- 'test-treeshake/**'
2224
- 'rollup*.js'
2325
- 'index.html'
2426
schedule:

0 commit comments

Comments
 (0)
Please sign in to comment.