Skip to content

Commit e4cfd97

Browse files
committed
Format
1 parent 8f9aecd commit e4cfd97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ bindingset[version]
1818
private predicate isPinnedCommit(string version) { version.regexpMatch("^[A-Fa-f0-9]{40}$") }
1919

2020
bindingset[nwo]
21-
private predicate isTrustedOwner(string nwo) {
22-
// Gets the segment before the first '/' in the name with owner(nwo) string
21+
private predicate isTrustedOwner(string nwo) {
22+
// Gets the segment before the first '/' in the name with owner(nwo) string
2323
trustedActionsOwner(nwo.substring(0, nwo.indexOf("/")))
2424
}
2525

0 commit comments

Comments
 (0)