Skip to content

Commit 5bf02e7

Browse files
KyFaStAlvaro Muñoz
andauthored
Update ql/src/Security/CWE-829/UnpinnedActionsTag.ql
Co-authored-by: Alvaro Muñoz <[email protected]>
1 parent 40ec9d6 commit 5bf02e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ql/src/Security/CWE-829/UnpinnedActionsTag.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ private predicate isPinnedCommit(string version) { version.regexpMatch("^[A-Fa-f
1818

1919
bindingset[repo]
2020
private predicate isTrustedOrg(string repo) {
21-
exists(string org | org in ["actions", "github", "advanced-security"] | repo.matches(org + "/%"))
21+
repo.matches(["actions", "github", "advanced-security"] + "/%"))
2222
}
2323

2424
from UsesStep uses, string repo, string version, Workflow workflow, string name

0 commit comments

Comments
 (0)