mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-11 16:02:30 +02:00
fix: harden CI validators
Ports personal-path validator hardening and quoted checkout detection onto current main.
This commit is contained in:
parent
1abc3fb381
commit
e674a7dbd7
6 changed files with 291 additions and 11 deletions
|
|
@ -75,7 +75,7 @@ function extractCheckoutSteps(source) {
|
|||
startLine: block.startLine,
|
||||
text: block.lines.join('\n'),
|
||||
}))
|
||||
.filter(block => /uses:\s*actions\/checkout@/m.test(block.text));
|
||||
.filter(block => /uses:\s*['"]?actions\/checkout@/m.test(block.text));
|
||||
}
|
||||
|
||||
function findViolations(filePath, source) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue