File tree Expand file tree Collapse file tree
test/query-tests/Security/CWE-829-Lockfile/.github/workflows Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,11 +25,10 @@ class ActionsLock extends YamlDocument {
2525 pin = pinNode .getValue ( ) and
2626 pinnedNwo = pin .regexpCapture ( "^([^/@:]+/[^/@:]+)@([^:]+)$" , 1 ) and
2727 ref = pin .regexpCapture ( "^([^/@:]+/[^/@:]+)@([^:]+)$" , 2 ) and
28- pinnedNwo = pinnedNwo .toLowerCase ( ) and
2928 (
30- nwo .toLowerCase ( ) = pinnedNwo
29+ nwo .toLowerCase ( ) = pinnedNwo . toLowerCase ( )
3130 or
32- nwo .toLowerCase ( ) .prefix ( pinnedNwo .length ( ) + 1 ) = pinnedNwo + "/"
31+ nwo .toLowerCase ( ) .prefix ( pinnedNwo .length ( ) + 1 ) = pinnedNwo . toLowerCase ( ) + "/"
3332 ) and
3433 root .lookup ( "dependencies" ) .( YamlMapping ) .lookup ( pin ) = dependency and
3534 dependency .lookup ( "ref" ) .( YamlScalar ) .getValue ( ) = ref and
Original file line number Diff line number Diff line change 11version: future-version
22workflows:
33 .github/workflows/rust-ci.yml:
4- - dtolnay/rust-toolchain @v1
4+ - DToLnAy/RuSt-ToOlChAiN @v1
55 - mismatched/action@v1
66 - malformed/action@v1
77 - missing/action@v1
88 .github/workflows/other.yml:
99 - other-workflow/action@v1
1010dependencies:
11- dtolnay/rust-toolchain @v1:
11+ DToLnAy/RuSt-ToOlChAiN @v1:
1212 ref: v1
1313 commit: sha1-6c977a6ca4077a0ceb28ffbe03f59d46e9ac8772
1414 owner_id: 1940490
You can’t perform that action at this time.
0 commit comments