This commit is contained in:
Chad Bentz
2025-01-07 17:01:33 -05:00
parent 8f9aecd76f
commit e4cfd97069

View File

@@ -18,8 +18,8 @@ bindingset[version]
private predicate isPinnedCommit(string version) { version.regexpMatch("^[A-Fa-f0-9]{40}$") }
bindingset[nwo]
private predicate isTrustedOwner(string nwo) {
// Gets the segment before the first '/' in the name with owner(nwo) string
private predicate isTrustedOwner(string nwo) {
// Gets the segment before the first '/' in the name with owner(nwo) string
trustedActionsOwner(nwo.substring(0, nwo.indexOf("/")))
}