Add CODEQL_ACTION_TEST_MODE

This commit is contained in:
Michael B. Gale
2026-02-28 16:28:26 +00:00
parent 9a0fe9e006
commit b77ebbe4d8

View File

@@ -205,6 +205,11 @@ function main(): void {
}
checkJob.env = checkJob.env ?? {};
if (!("CODEQL_ACTION_TEST_MODE" in checkJob.env)) {
checkJob.env.CODEQL_ACTION_TEST_MODE = true;
}
let extraGroupName = "";
for (const inputName of Object.keys(workflowInputs)) {
extraGroupName += "-${{inputs." + inputName + "}}";