From a69c7cb332d56f616fcadef002884523c71e8d1c Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Tue, 20 Oct 2026 18:02:30 +0100 Subject: [PATCH] Document that setting the env vars to `false` takes precedence --- src/environment.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/environment.ts b/src/environment.ts index 32140baf0..ffc3f305a 100644 --- a/src/environment.ts +++ b/src/environment.ts @@ -169,12 +169,17 @@ export enum EnvVar { * Whether to skip generating a failed SARIF file. Intended for testing purposes. * This setting is more specific than `CODEQL_ACTION_TEST_MODE` and * `CODEQL_ACTION_SKIP_SARIF_UPLOAD`, which imply this option. + * + * Setting this to `false` takes precedence over `CODEQL_ACTION_TEST_MODE: true` or + * `CODEQL_ACTION_SKIP_SARIF_UPLOAD: true`. */ SKIP_GENERATE_FAILED_SARIF = "CODEQL_ACTION_SKIP_GENERATE_FAILED_SARIF", /** * Whether to skip uploading SARIF results to GitHub. Intended for testing purposes. * This setting is more specific than `CODEQL_ACTION_TEST_MODE`, which implies this option. + * + * Setting this to `false` takes precedence over `CODEQL_ACTION_TEST_MODE: true`. */ SKIP_SARIF_UPLOAD = "CODEQL_ACTION_SKIP_SARIF_UPLOAD",