mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 17:41:28 +00:00
Add RegistryProxyVars enum
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
/**
|
||||
* Environment variables used by Default Setup to communicate the private registry proxy configuration.
|
||||
*/
|
||||
export enum RegistryProxyVars {
|
||||
PROXY_HOST = "CODEQL_PROXY_HOST",
|
||||
PROXY_PORT = "CODEQL_PROXY_PORT",
|
||||
PROXY_CA_CERTIFICATE = "CODEQL_PROXY_CA_CERTIFICATE",
|
||||
PROXY_URLS = "CODEQL_PROXY_URLS",
|
||||
}
|
||||
|
||||
/**
|
||||
* Environment variables used by the CodeQL Action.
|
||||
*
|
||||
@@ -202,7 +212,7 @@ export enum ActionsEnvVars {
|
||||
}
|
||||
|
||||
/** A type representing all known environment variables. */
|
||||
export type KnownEnvVar = EnvVar | ActionsEnvVars;
|
||||
export type KnownEnvVar = EnvVar | ActionsEnvVars | RegistryProxyVars;
|
||||
|
||||
/**
|
||||
* Gets an environment variable, but throws an error if it is not set.
|
||||
|
||||
Reference in New Issue
Block a user