Prefer explicit env var to binary accessibility check

This commit is contained in:
Henry Mercer
2025-12-18 14:05:12 +00:00
parent a7e88a44f8
commit 95246ce019
6 changed files with 16 additions and 9 deletions
+6
View File
@@ -129,4 +129,10 @@ export enum EnvVar {
* the workflow is valid and validation is not necessary.
*/
SKIP_WORKFLOW_VALIDATION = "CODEQL_ACTION_SKIP_WORKFLOW_VALIDATION",
/**
* Whether to tolerate failure to determine the git version (only applicable in test mode).
* Intended for use in environments where git may not be installed, such as Docker containers.
*/
TOLERATE_MISSING_GIT_VERSION = "CODEQL_ACTION_TOLERATE_MISSING_GIT_VERSION",
}