Skip to content

Commit cee0389

Browse files
Alvaro MuñozJarLob
andauthored
Update SelfHostedQuery.qll
Co-authored-by: Jaroslav Lobačevski <[email protected]>
1 parent a1efc78 commit cee0389

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ql/lib/codeql/actions/security/SelfHostedQuery.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ predicate isGithubHostedRunner(string runner) {
66
// list of github hosted repos: https://github.com/actions/runner-images/blob/main/README.md#available-images
77
runner
88
.toLowerCase()
9-
.regexpMatch("^(ubuntu-([0-9.]+|latest)|macos-([0-9]+|latest)(-x?large)?|windows-([0-9.]+|latest)|(buildjet|warp)-[a-z0-9-]+)$")
9+
.regexpMatch("^(ubuntu-([0-9.]+|latest)|macos-([0-9]+|latest)(-x?large)?|windows-([0-9.]+|latest))$")
1010
}
1111

1212
bindingset[runner]

0 commit comments

Comments
 (0)