diff --git a/lib/start-proxy-action.js b/lib/start-proxy-action.js index 6e121d96a..3a24687b2 100644 --- a/lib/start-proxy-action.js +++ b/lib/start-proxy-action.js @@ -47800,6 +47800,9 @@ var KnownLanguage = /* @__PURE__ */ ((KnownLanguage2) => { })(KnownLanguage || {}); // src/start-proxy.ts +var UPDATEJOB_PROXY = "update-job-proxy"; +var UPDATEJOB_PROXY_VERSION = "v2.0.20250624110901"; +var UPDATEJOB_PROXY_URL_PREFIX = "https://github.com/github/codeql-action/releases/download/codeql-bundle-v2.22.0/"; var LANGUAGE_ALIASES = { c: "cpp" /* cpp */, "c++": "cpp" /* cpp */, @@ -47894,9 +47897,6 @@ function getCredentials(logger, registrySecrets, registriesCredentials, language } // src/start-proxy-action.ts -var UPDATEJOB_PROXY = "update-job-proxy"; -var UPDATEJOB_PROXY_VERSION = "v2.0.20250624110901"; -var UPDATEJOB_PROXY_URL_PREFIX = "https://github.com/github/codeql-action/releases/download/codeql-bundle-v2.22.0/"; var KEY_SIZE = 2048; var KEY_EXPIRY_YEARS = 2; var CERT_SUBJECT = [ diff --git a/src/start-proxy-action.ts b/src/start-proxy-action.ts index 1efedb7d5..73204edf5 100644 --- a/src/start-proxy-action.ts +++ b/src/start-proxy-action.ts @@ -7,13 +7,15 @@ import { pki } from "node-forge"; import * as actionsUtil from "./actions-util"; import { getActionsLogger, Logger } from "./logging"; -import { Credential, getCredentials } from "./start-proxy"; +import { + Credential, + getCredentials, + UPDATEJOB_PROXY, + UPDATEJOB_PROXY_URL_PREFIX, + UPDATEJOB_PROXY_VERSION, +} from "./start-proxy"; import * as util from "./util"; -const UPDATEJOB_PROXY = "update-job-proxy"; -const UPDATEJOB_PROXY_VERSION = "v2.0.20250624110901"; -const UPDATEJOB_PROXY_URL_PREFIX = - "https://github.com/github/codeql-action/releases/download/codeql-bundle-v2.22.0/"; const KEY_SIZE = 2048; const KEY_EXPIRY_YEARS = 2; diff --git a/src/start-proxy.ts b/src/start-proxy.ts index 18e8faa15..b29b14317 100644 --- a/src/start-proxy.ts +++ b/src/start-proxy.ts @@ -4,6 +4,11 @@ import { KnownLanguage } from "./languages"; import { Logger } from "./logging"; import { ConfigurationError, isDefined } from "./util"; +export const UPDATEJOB_PROXY = "update-job-proxy"; +export const UPDATEJOB_PROXY_VERSION = "v2.0.20250624110901"; +export const UPDATEJOB_PROXY_URL_PREFIX = + "https://github.com/github/codeql-action/releases/download/codeql-bundle-v2.22.0/"; + export type Credential = { type: string; host?: string;