mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Format
This commit is contained in:
@@ -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("/")))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user