mirror of
https://github.com/github/codeql-action.git
synced 2026-04-27 09:18:47 +00:00
Move UPDATEJOB_PROXY constants to start-proxy.ts
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user