Skip to content

Commit c889588

Browse files
committed
Add env, container, and services
1 parent b77ebbe commit c889588

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pr-checks/sync.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,11 @@ function main(): void {
204204
checkJob.permissions = checkSpecification.permissions;
205205
}
206206

207+
for (const key of ["env", "container", "services"] as const) {
208+
if (checkSpecification[key] !== undefined) {
209+
checkJob[key] = checkSpecification[key];
210+
}
211+
}
207212

208213
checkJob.env = checkJob.env ?? {};
209214
if (!("CODEQL_ACTION_TEST_MODE" in checkJob.env)) {

0 commit comments

Comments
 (0)