mirror of
https://github.com/github/codeql.git
synced 2026-04-19 22:14:01 +02:00
Re-order conditions
Makes for a neater diff.
This commit is contained in:
@@ -40,8 +40,8 @@ where
|
||||
) and
|
||||
uses.getVersion() = version and
|
||||
not isTrustedOwner(nwo) and
|
||||
not isImmutableAction(uses, nwo) and
|
||||
not if isContainerImage(nwo) then isPinnedContainer(version) else isPinnedCommit(version)
|
||||
not isImmutableAction(uses, nwo) and
|
||||
select uses.getCalleeNode(),
|
||||
"Unpinned 3rd party Action '" + name + "' step $@ uses '" + nwo + "' with ref '" + version +
|
||||
"', not a pinned commit hash", uses, uses.toString()
|
||||
|
||||
Reference in New Issue
Block a user