Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 17 additions & 18 deletions lib/config/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export interface RenovateSharedConfig {
branchPrefix?: string;
branchPrefixOld?: string;
bumpVersions?: BumpVersionConfig[];
changelogUrl?: string;
commitBody?: string;
commitBodyTable?: boolean;
commitMessage?: string;
Expand All @@ -83,15 +84,13 @@ export interface RenovateSharedConfig {
commitMessageTopic?: string;
confidential?: boolean;
configValidationError?: boolean;
changelogUrl?: string;
dependencyDashboardApproval?: boolean;
draftPR?: boolean;
enabled?: boolean;
enabledManagers?: string[];
encrypted?: Record<string, string>;
extends?: string[];
extractVersion?: string;
managerFilePatterns?: string[];
followTag?: string;
force?: RenovateConfig;
gitIgnoredAuthors?: string[];
Expand All @@ -109,12 +108,12 @@ export interface RenovateSharedConfig {
keepUpdatedLabel?: string;
labels?: string[];
manager?: string;
managerFilePatterns?: string[];
milestone?: number;
minimumReleaseAge?: Nullish<string>;
npmToken?: string;
npmrc?: string;
npmrcMerge?: boolean;
npmToken?: string;

pinDigests?: boolean;
platformAutomerge?: boolean;
platformCommit?: PlatformCommitOptions;
Expand Down Expand Up @@ -154,8 +153,8 @@ export interface RenovateSharedConfig {
timezone?: string;
unicodeEmoji?: boolean;
updateNotScheduled?: boolean;
versioning?: string;
versionCompatibility?: string;
versioning?: string;
}

// Config options used only within the global worker
Expand All @@ -170,6 +169,8 @@ export interface GlobalOnlyConfigLegacy {
baseDir?: string;
cacheDir?: string;
containerbaseDir?: string;
deleteAdditionalConfigFile?: boolean;
deleteConfigFile?: boolean;
detectHostRulesFromEnv?: boolean;
dockerCliOptions?: string;
endpoint?: string;
Expand All @@ -181,18 +182,16 @@ export interface GlobalOnlyConfigLegacy {
mergeConfidenceDatasources?: string[];
mergeConfidenceEndpoint?: string;
platform?: PlatformId;
processEnv?: Record<string, string>;
prCommitsPerRunLimit?: number;
privateKey?: string;
privateKeyOld?: string;
privateKeyPath?: string;
privateKeyPathOld?: string;
processEnv?: Record<string, string>;
redisPrefix?: string;
redisUrl?: string;
repositories?: RenovateRepository[];
useCloudMetadataServices?: boolean;
deleteConfigFile?: boolean;
deleteAdditionalConfigFile?: boolean;
}

/**
Expand All @@ -203,20 +202,26 @@ export interface GlobalOnlyConfigLegacy {
* Should only contain config options where globalOnly=true.
*/
export interface RepoGlobalConfig {
allowedCommands?: string[];
allowCustomCrateRegistries?: boolean;
allowPlugins?: boolean;
allowScripts?: boolean;
allowedCommands?: string[];
allowedEnv?: string[];
allowedHeaders?: string[];
allowedUnsafeExecutions?: AllowedUnsafeExecution[];
autodiscoverRepoOrder?: SortMethod;
autodiscoverRepoSort?: RepoSortMethod;
binarySource?: BinarySource;
cacheDir?: string;
cacheHardTtlMinutes?: number;
cachePrivatePackages?: boolean;
cacheTtlOverride?: Record<string, number>;
configFileNames?: string[];
containerbaseDir?: string;
customEnvVariables?: Record<string, string>;
dockerChildPrefix?: string;
dockerCliOptions?: string;
dockerMaxPages?: number;
dockerSidecarImage?: string;
dockerUser?: string;
dryRun?: DryRunConfig;
Expand All @@ -226,22 +231,16 @@ export interface RepoGlobalConfig {
exposeAllEnv?: boolean;
gitTimeout?: number;
githubTokenWarn?: boolean;
httpCacheTtlDays?: number;
ignorePrAuthor?: boolean;
includeMirrors?: boolean;
localDir?: string;
migratePresets?: Record<string, string>;
platform?: PlatformId;
presetCachePersistence?: boolean;
httpCacheTtlDays?: number;
autodiscoverRepoSort?: RepoSortMethod;
autodiscoverRepoOrder?: SortMethod;
userAgent?: string;
dockerMaxPages?: number;
s3Endpoint?: string;
s3PathStyle?: boolean;
cachePrivatePackages?: boolean;
configFileNames?: string[];
ignorePrAuthor?: boolean;
allowedUnsafeExecutions?: AllowedUnsafeExecution[];
userAgent?: string;
}

/**
Expand Down