Commit 5aaf911
fix(ci): security workflow false-positive CSP + Node 18 EBADENGINE
- NODE_VERSION 18.x → 20.x (glob@11, svelte@7 require node 20+)
- CSP check: `if find … -exec grep -l`; always exits 0 because find
succeeds regardless of grep match. Pipe to `grep -q .` like the
adjacent <script> check already does.
- eval() check: same find-exit bug plus -name alternation without
parens meant only *.jsx was actually scanned.
Kills the daily red X on the scheduled Security Scanning run.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 6f29652 commit 5aaf911
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
0 commit comments