Skip to content

Commit 9ee9314

Browse files
author
Alvaro Muñoz
committed
Resolve conflicts after rebasing
1 parent 9310150 commit 9ee9314

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
@@ -14,7 +14,7 @@ string selfHostedRunnerRegexp() {
1414
*/
1515
predicate staticallyIdentifiedSelfHostedRunner(Job job) {
1616
exists(string label |
17-
job.getATriggerEvent() =
17+
job.getATriggerEvent().getName() =
1818
["pull_request", "pull_request_review", "pull_request_review_comment", "pull_request_target"] and
1919
label = job.getARunsOnLabel() and
2020
not label.regexpMatch(selfHostedRunnerRegexp())

0 commit comments

Comments
 (0)