Skip to content

Commit b77ebbe

Browse files
committed
Add CODEQL_ACTION_TEST_MODE
1 parent 9a0fe9e commit b77ebbe

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
@@ -205,6 +205,11 @@ function main(): void {
205205
}
206206

207207

208+
checkJob.env = checkJob.env ?? {};
209+
if (!("CODEQL_ACTION_TEST_MODE" in checkJob.env)) {
210+
checkJob.env.CODEQL_ACTION_TEST_MODE = true;
211+
}
212+
208213
let extraGroupName = "";
209214
for (const inputName of Object.keys(workflowInputs)) {
210215
extraGroupName += "-${{inputs." + inputName + "}}";

0 commit comments

Comments
 (0)