renovate 44.151.5 → 44.153.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/config/defaults.js +3 -1
  2. package/dist/config/defaults.js.map +1 -1
  3. package/dist/config/options/index.js +117 -13
  4. package/dist/config/options/index.js.map +1 -1
  5. package/dist/config/options/scopes.js +30 -4
  6. package/dist/config/options/scopes.js.map +1 -1
  7. package/dist/config/presets/internal/group.preset.js +13 -0
  8. package/dist/config/presets/internal/group.preset.js.map +1 -1
  9. package/dist/config/types.d.ts +12 -2
  10. package/dist/config/types.js +3 -1
  11. package/dist/config/types.js.map +1 -1
  12. package/dist/config/validation.js +2 -2
  13. package/dist/data/monorepo.js +1 -0
  14. package/dist/data/replacements.js +10 -0
  15. package/dist/global-config-option-defaults.generated.js +1 -1
  16. package/dist/global-config-option-defaults.generated.js.map +1 -1
  17. package/dist/modules/datasource/devbox/common.js +1 -1
  18. package/dist/modules/datasource/devbox/common.js.map +1 -1
  19. package/dist/modules/manager/apm/extract.js +11 -2
  20. package/dist/modules/manager/apm/extract.js.map +1 -1
  21. package/dist/modules/manager/fingerprint.generated.js +2 -2
  22. package/dist/modules/manager/fingerprint.generated.js.map +1 -1
  23. package/dist/modules/manager/github-actions/known-actions/github-releases.js +1 -1
  24. package/dist/modules/manager/github-actions/known-actions/github-releases.js.map +1 -1
  25. package/dist/modules/manager/types.d.ts +1 -0
  26. package/dist/workers/repository/changelog/index.js +1 -0
  27. package/dist/workers/repository/changelog/index.js.map +1 -1
  28. package/dist/workers/repository/update/pr/changelog/types.d.ts +2 -0
  29. package/dist/workers/repository/update/pr/index.js +4 -2
  30. package/dist/workers/repository/update/pr/index.js.map +1 -1
  31. package/package.json +4 -4
  32. package/renovate-schema.json +31190 -292
@@ -1,11 +1,11 @@
1
1
  import { PLATFORM_HOST_TYPES } from "../../constants/platforms.js";
2
2
  import { managerDefaultConfigs } from "../../manager-default-configs.generated.js";
3
- import { AllManagersListLiteral } from "../../manager-list.generated.js";
4
3
  import { getSupportedToolNames } from "../../util/exec/containerbase.js";
5
4
  import { additionalConstraintDefinitions, toolDefinitionDocumentation } from "../../util/exec/types.js";
6
5
  import { AllVersioningsListLiteral } from "../../versioning-list.generated.js";
7
6
  import { supportedDatasources } from "../presets/internal/merge-confidence.preset.js";
8
- import { UpdateTypesOptions, allowedStatusCheckStrings, allowedStatusCheckWhenValues } from "../types.js";
7
+ import { allowedStatusCheckStrings, allowedStatusCheckWhenValues } from "../types.js";
8
+ import { lookupScopes, sharedScopes } from "./scopes.js";
9
9
  import { isArray, isObject } from "@sindresorhus/is";
10
10
  //#region lib/config/options/index.ts
11
11
  /**
@@ -369,6 +369,7 @@ const options = [
369
369
  },
370
370
  {
371
371
  name: "configMigration",
372
+ scopes: ["repo"],
372
373
  description: "Enable this to get config migration PRs when needed.",
373
374
  stage: "repository",
374
375
  type: "boolean",
@@ -517,14 +518,13 @@ const options = [
517
518
  stage: "package",
518
519
  type: "boolean",
519
520
  default: true,
520
- parents: [
521
- ".",
522
- "packageRules",
523
- ...AllManagersListLiteral,
524
- "hostRules",
525
- "vulnerabilityAlerts",
526
- ...UpdateTypesOptions
527
- ]
521
+ scopes: [
522
+ "repo",
523
+ "packageRule",
524
+ "manager",
525
+ "updateType"
526
+ ],
527
+ parents: ["hostRules", "vulnerabilityAlerts"]
528
528
  },
529
529
  {
530
530
  name: "constraintsFiltering",
@@ -611,6 +611,7 @@ const options = [
611
611
  },
612
612
  {
613
613
  name: "draftPR",
614
+ scopes: sharedScopes,
614
615
  description: "If set to `true` then Renovate creates draft PRs, instead of normal status PRs.",
615
616
  type: "boolean",
616
617
  default: false,
@@ -638,6 +639,7 @@ const options = [
638
639
  },
639
640
  {
640
641
  name: "printConfig",
642
+ scopes: ["repo"],
641
643
  description: "If enabled, Renovate logs the fully resolved config for each repository, plus the fully resolved presets.",
642
644
  type: "boolean",
643
645
  default: false
@@ -733,7 +735,7 @@ const options = [
733
735
  name: "dockerSidecarImage",
734
736
  description: "Change this value to override the default Renovate sidecar image.",
735
737
  type: "string",
736
- default: "ghcr.io/renovatebot/base-image:13.119.2",
738
+ default: "ghcr.io/renovatebot/base-image:13.120.0",
737
739
  globalOnly: true,
738
740
  deprecationMsg: "The usage of `binarySource=docker` is deprecated, and will be removed in the future"
739
741
  },
@@ -803,6 +805,7 @@ const options = [
803
805
  },
804
806
  {
805
807
  name: "forkProcessing",
808
+ scopes: ["repo"],
806
809
  description: "Whether to process forked repositories. By default, all forked repositories are skipped when in `autodiscover` mode.",
807
810
  stage: "repository",
808
811
  type: "string",
@@ -925,24 +928,28 @@ const options = [
925
928
  },
926
929
  {
927
930
  name: "dependencyDashboard",
931
+ scopes: ["repo"],
928
932
  description: "Whether to create a \"Dependency Dashboard\" issue in the repository.",
929
933
  type: "boolean",
930
934
  default: false
931
935
  },
932
936
  {
933
937
  name: "dependencyDashboardApproval",
938
+ scopes: sharedScopes,
934
939
  description: "Controls if updates need manual approval from the Dependency Dashboard issue before PRs are created.",
935
940
  type: "boolean",
936
941
  default: false
937
942
  },
938
943
  {
939
944
  name: "dependencyDashboardAutoclose",
945
+ scopes: ["repo"],
940
946
  description: "Set to `true` to let Renovate close the Dependency Dashboard issue if there are no more updates.",
941
947
  type: "boolean",
942
948
  default: false
943
949
  },
944
950
  {
945
951
  name: "dependencyDashboardTitle",
952
+ scopes: ["repo"],
946
953
  description: "Title for the Dependency Dashboard issue.",
947
954
  type: "string",
948
955
  default: `Dependency Dashboard`
@@ -957,6 +964,7 @@ const options = [
957
964
  },
958
965
  {
959
966
  name: "dependencyDashboardHeader",
967
+ scopes: ["repo"],
960
968
  description: "Any text added here will be placed first in the Dependency Dashboard issue body.",
961
969
  type: "string",
962
970
  default: "This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.",
@@ -964,12 +972,14 @@ const options = [
964
972
  },
965
973
  {
966
974
  name: "dependencyDashboardFooter",
975
+ scopes: ["repo"],
967
976
  description: "Any text added here will be placed last in the Dependency Dashboard issue body, with a divider separator before it.",
968
977
  type: "string",
969
978
  supportsTemplating: true
970
979
  },
971
980
  {
972
981
  name: "dependencyDashboardLabels",
982
+ scopes: ["repo"],
973
983
  description: "These labels will always be applied on the Dependency Dashboard issue, even when they have been removed manually.",
974
984
  type: "array",
975
985
  subType: "string",
@@ -977,6 +987,7 @@ const options = [
977
987
  },
978
988
  {
979
989
  name: "dependencyDashboardOSVVulnerabilitySummary",
990
+ scopes: ["repo"],
980
991
  description: "Control if the Dependency Dashboard issue lists CVEs supplied by [osv.dev](https://osv.dev).",
981
992
  type: "string",
982
993
  allowedValues: [
@@ -989,6 +1000,7 @@ const options = [
989
1000
  },
990
1001
  {
991
1002
  name: "configWarningReuseIssue",
1003
+ scopes: ["repo"],
992
1004
  description: "Set this to `true` to make Renovate reuse/reopen an existing closed Config Warning issue, instead of opening a new one each time.",
993
1005
  type: "boolean",
994
1006
  default: false
@@ -1281,6 +1293,7 @@ const options = [
1281
1293
  },
1282
1294
  {
1283
1295
  name: "baseBranchPatterns",
1296
+ scopes: ["repo"],
1284
1297
  description: "List of one or more custom base branches defined as exact strings and/or via regex expressions.",
1285
1298
  type: "array",
1286
1299
  subType: "string",
@@ -1289,6 +1302,7 @@ const options = [
1289
1302
  },
1290
1303
  {
1291
1304
  name: "useBaseBranchConfig",
1305
+ scopes: ["repo"],
1292
1306
  description: "Whether to read configuration from base branches instead of only the default branch.",
1293
1307
  type: "string",
1294
1308
  allowedValues: ["merge", "none"],
@@ -1445,6 +1459,7 @@ const options = [
1445
1459
  },
1446
1460
  {
1447
1461
  name: "extractVersion",
1462
+ scopes: lookupScopes,
1448
1463
  description: "A regex (`re2`) to extract a version from a datasource's raw version string.",
1449
1464
  type: "string",
1450
1465
  format: "regex",
@@ -1453,6 +1468,7 @@ const options = [
1453
1468
  },
1454
1469
  {
1455
1470
  name: "versionCompatibility",
1471
+ scopes: lookupScopes,
1456
1472
  description: "A regex (`re2`) with named capture groups to show how version and compatibility are split from a raw version string.",
1457
1473
  type: "string",
1458
1474
  format: "regex",
@@ -1461,6 +1477,7 @@ const options = [
1461
1477
  },
1462
1478
  {
1463
1479
  name: "versioning",
1480
+ scopes: lookupScopes,
1464
1481
  description: "Versioning to use for filtering and comparisons.",
1465
1482
  type: "string",
1466
1483
  allowedValues: [...AllVersioningsListLiteral],
@@ -1469,6 +1486,7 @@ const options = [
1469
1486
  },
1470
1487
  {
1471
1488
  name: "azureWorkItemId",
1489
+ scopes: sharedScopes,
1472
1490
  description: "The id of an existing work item on Azure Boards to link to each PR.",
1473
1491
  type: "integer",
1474
1492
  default: 0,
@@ -1483,6 +1501,7 @@ const options = [
1483
1501
  },
1484
1502
  {
1485
1503
  name: "autoApprove",
1504
+ scopes: sharedScopes,
1486
1505
  description: "Set to `true` to automatically approve PRs.",
1487
1506
  type: "boolean",
1488
1507
  default: false,
@@ -1854,18 +1873,21 @@ const options = [
1854
1873
  },
1855
1874
  {
1856
1875
  name: "pinDigests",
1876
+ scopes: lookupScopes,
1857
1877
  description: "Whether to add digests to Dockerfile source images.",
1858
1878
  type: "boolean",
1859
1879
  default: false
1860
1880
  },
1861
1881
  {
1862
1882
  name: "separateMajorMinor",
1883
+ scopes: lookupScopes,
1863
1884
  description: "If set to `false`, Renovate will upgrade dependencies to their latest release only. Renovate will not separate major or minor branches.",
1864
1885
  type: "boolean",
1865
1886
  default: true
1866
1887
  },
1867
1888
  {
1868
1889
  name: "separateMultipleMajor",
1890
+ scopes: lookupScopes,
1869
1891
  description: "If set to `true`, PRs will be raised separately for each available `major` upgrade version.",
1870
1892
  stage: "package",
1871
1893
  type: "boolean",
@@ -1873,6 +1895,7 @@ const options = [
1873
1895
  },
1874
1896
  {
1875
1897
  name: "separateMultipleMinor",
1898
+ scopes: lookupScopes,
1876
1899
  description: "If set to `true`, Renovate creates separate PRs for each `minor` stream.",
1877
1900
  stage: "package",
1878
1901
  type: "boolean",
@@ -1881,12 +1904,14 @@ const options = [
1881
1904
  },
1882
1905
  {
1883
1906
  name: "separateMinorPatch",
1907
+ scopes: lookupScopes,
1884
1908
  description: "If set to `true`, Renovate will separate `minor` and `patch` updates into separate branches.",
1885
1909
  type: "boolean",
1886
1910
  default: false
1887
1911
  },
1888
1912
  {
1889
1913
  name: "ignoreUnstable",
1914
+ scopes: lookupScopes,
1890
1915
  description: "Ignore versions with unstable SemVer.",
1891
1916
  stage: "package",
1892
1917
  type: "boolean",
@@ -1894,6 +1919,7 @@ const options = [
1894
1919
  },
1895
1920
  {
1896
1921
  name: "ignoreDeprecated",
1922
+ scopes: lookupScopes,
1897
1923
  description: "Avoid upgrading from a non-deprecated version to a deprecated one.",
1898
1924
  stage: "package",
1899
1925
  type: "boolean",
@@ -1901,6 +1927,7 @@ const options = [
1901
1927
  },
1902
1928
  {
1903
1929
  name: "followTag",
1930
+ scopes: lookupScopes,
1904
1931
  description: "If defined, packages will follow this release tag exactly.",
1905
1932
  stage: "package",
1906
1933
  type: "string",
@@ -1910,6 +1937,7 @@ const options = [
1910
1937
  },
1911
1938
  {
1912
1939
  name: "maxMajorIncrement",
1940
+ scopes: lookupScopes,
1913
1941
  description: "Limit the maximum major version increment allowed. Set to 0 to disable.",
1914
1942
  stage: "package",
1915
1943
  type: "integer",
@@ -1919,6 +1947,7 @@ const options = [
1919
1947
  },
1920
1948
  {
1921
1949
  name: "respectLatest",
1950
+ scopes: lookupScopes,
1922
1951
  description: "Ignore versions newer than npm \"latest\" version.",
1923
1952
  stage: "package",
1924
1953
  type: "boolean",
@@ -1926,6 +1955,7 @@ const options = [
1926
1955
  },
1927
1956
  {
1928
1957
  name: "rangeStrategy",
1958
+ scopes: lookupScopes,
1929
1959
  description: "Determines how to modify or update existing ranges.",
1930
1960
  type: "string",
1931
1961
  default: "auto",
@@ -1943,6 +1973,7 @@ const options = [
1943
1973
  },
1944
1974
  {
1945
1975
  name: "branchPrefix",
1976
+ scopes: sharedScopes,
1946
1977
  description: "Prefix to use for all branch names.",
1947
1978
  stage: "branch",
1948
1979
  type: "string",
@@ -1951,6 +1982,7 @@ const options = [
1951
1982
  },
1952
1983
  {
1953
1984
  name: "branchPrefixOld",
1985
+ scopes: sharedScopes,
1954
1986
  description: "Old branchPrefix value to check for existing PRs.",
1955
1987
  stage: "branch",
1956
1988
  type: "string",
@@ -2078,6 +2110,7 @@ const options = [
2078
2110
  },
2079
2111
  {
2080
2112
  name: "semanticCommits",
2113
+ scopes: sharedScopes,
2081
2114
  description: "Enable Semantic Commit prefixes for commits and PR titles.",
2082
2115
  type: "string",
2083
2116
  allowedValues: [
@@ -2089,6 +2122,7 @@ const options = [
2089
2122
  },
2090
2123
  {
2091
2124
  name: "semanticCommitType",
2125
+ scopes: sharedScopes,
2092
2126
  description: "Commit type to use if Semantic Commits is enabled.",
2093
2127
  type: "string",
2094
2128
  default: "chore",
@@ -2096,13 +2130,16 @@ const options = [
2096
2130
  },
2097
2131
  {
2098
2132
  name: "semanticCommitScope",
2133
+ scopes: sharedScopes,
2099
2134
  description: "Commit scope to use if Semantic Commits are enabled.",
2100
2135
  type: "string",
2101
2136
  default: "deps",
2137
+ nullable: true,
2102
2138
  supportsTemplating: true
2103
2139
  },
2104
2140
  {
2105
2141
  name: "commitMessageLowerCase",
2142
+ scopes: sharedScopes,
2106
2143
  description: "Lowercase PR- and commit titles.",
2107
2144
  type: "string",
2108
2145
  allowedValues: ["auto", "never"],
@@ -2110,6 +2147,7 @@ const options = [
2110
2147
  },
2111
2148
  {
2112
2149
  name: "keepUpdatedLabel",
2150
+ scopes: sharedScopes,
2113
2151
  description: "If set, users can add this label to PRs to request they be kept updated with the base branch.",
2114
2152
  type: "string",
2115
2153
  supportedPlatforms: [
@@ -2123,12 +2161,14 @@ const options = [
2123
2161
  },
2124
2162
  {
2125
2163
  name: "rollbackPrs",
2164
+ scopes: lookupScopes,
2126
2165
  description: "Create PRs to roll back versions if the current version is not found in the registry.",
2127
2166
  type: "boolean",
2128
2167
  default: false
2129
2168
  },
2130
2169
  {
2131
2170
  name: "recreateWhen",
2171
+ scopes: sharedScopes,
2132
2172
  description: "Recreate PRs even if same ones were closed previously.",
2133
2173
  type: "string",
2134
2174
  default: "auto",
@@ -2140,6 +2180,7 @@ const options = [
2140
2180
  },
2141
2181
  {
2142
2182
  name: "rebaseWhen",
2183
+ scopes: sharedScopes,
2143
2184
  description: "Controls when Renovate rebases an existing branch.",
2144
2185
  type: "string",
2145
2186
  allowedValues: [
@@ -2153,12 +2194,14 @@ const options = [
2153
2194
  },
2154
2195
  {
2155
2196
  name: "rebaseLabel",
2197
+ scopes: sharedScopes,
2156
2198
  description: "Label to request a rebase from Renovate.",
2157
2199
  type: "string",
2158
2200
  default: "rebase"
2159
2201
  },
2160
2202
  {
2161
2203
  name: "stopUpdatingLabel",
2204
+ scopes: sharedScopes,
2162
2205
  description: "Label to make Renovate stop updating a PR.",
2163
2206
  type: "string",
2164
2207
  default: "stop-updating",
@@ -2173,12 +2216,14 @@ const options = [
2173
2216
  },
2174
2217
  {
2175
2218
  name: "minimumReleaseAge",
2219
+ scopes: [...lookupScopes, "updateType"],
2176
2220
  description: "Time required before a new release is considered stable.",
2177
2221
  type: "string",
2178
2222
  default: null
2179
2223
  },
2180
2224
  {
2181
2225
  name: "minimumReleaseAgeBehaviour",
2226
+ scopes: [...lookupScopes, "updateType"],
2182
2227
  description: "When set in conjunction with `minimumReleaseAge`, controls whether the `releaseTimestamp` for a dependency update is required.",
2183
2228
  type: "string",
2184
2229
  default: "timestamp-required",
@@ -2186,9 +2231,11 @@ const options = [
2186
2231
  },
2187
2232
  {
2188
2233
  name: "minimumReleaseAgeBuffer",
2234
+ scopes: [...lookupScopes, "updateType"],
2189
2235
  description: "Extra time added to `minimumReleaseAge` before an update is considered stable.",
2190
2236
  type: "string",
2191
- default: "30 minutes"
2237
+ default: "30 minutes",
2238
+ nullable: true
2192
2239
  },
2193
2240
  {
2194
2241
  name: "abandonmentThreshold",
@@ -2198,6 +2245,7 @@ const options = [
2198
2245
  },
2199
2246
  {
2200
2247
  name: "dependencyDashboardReportAbandonment",
2248
+ scopes: ["repo"],
2201
2249
  description: "Controls whether abandoned packages are reported in the dependency dashboard.",
2202
2250
  type: "boolean",
2203
2251
  default: true
@@ -2210,6 +2258,7 @@ const options = [
2210
2258
  },
2211
2259
  {
2212
2260
  name: "internalChecksFilter",
2261
+ scopes: [...lookupScopes, "updateType"],
2213
2262
  description: "When and how to filter based on internal checks.",
2214
2263
  type: "string",
2215
2264
  allowedValues: [
@@ -2230,6 +2279,7 @@ const options = [
2230
2279
  },
2231
2280
  {
2232
2281
  name: "prCreation",
2282
+ scopes: sharedScopes,
2233
2283
  description: "When to create the PR for a branch.",
2234
2284
  type: "string",
2235
2285
  allowedValues: [
@@ -2242,6 +2292,7 @@ const options = [
2242
2292
  },
2243
2293
  {
2244
2294
  name: "prNotPendingHours",
2295
+ scopes: sharedScopes,
2245
2296
  description: "Timeout in hours for when `prCreation=not-pending`.",
2246
2297
  type: "integer",
2247
2298
  default: 25
@@ -2314,6 +2365,7 @@ const options = [
2314
2365
  },
2315
2366
  {
2316
2367
  name: "bbAutoResolvePrTasks",
2368
+ scopes: sharedScopes,
2317
2369
  description: "The PR tasks will be automatically completed after the PR is raised.",
2318
2370
  type: "boolean",
2319
2371
  default: false,
@@ -2321,6 +2373,7 @@ const options = [
2321
2373
  },
2322
2374
  {
2323
2375
  name: "bbUseDefaultReviewers",
2376
+ scopes: sharedScopes,
2324
2377
  description: "Use the default reviewers (Bitbucket only).",
2325
2378
  type: "boolean",
2326
2379
  default: true,
@@ -2425,6 +2478,7 @@ const options = [
2425
2478
  },
2426
2479
  {
2427
2480
  name: "osvVulnerabilityAlerts",
2481
+ scopes: ["repo"],
2428
2482
  description: "Use vulnerability alerts from `osv.dev`.",
2429
2483
  type: "boolean",
2430
2484
  default: false,
@@ -2433,12 +2487,14 @@ const options = [
2433
2487
  },
2434
2488
  {
2435
2489
  name: "pruneBranchAfterAutomerge",
2490
+ scopes: sharedScopes,
2436
2491
  description: "Set to `true` to enable branch pruning after automerging.",
2437
2492
  type: "boolean",
2438
2493
  default: true
2439
2494
  },
2440
2495
  {
2441
2496
  name: "branchName",
2497
+ scopes: sharedScopes,
2442
2498
  description: "Branch name template.",
2443
2499
  type: "string",
2444
2500
  default: "{{{branchPrefix}}}{{{additionalBranchPrefix}}}{{{branchTopic}}}",
@@ -2448,6 +2504,7 @@ const options = [
2448
2504
  },
2449
2505
  {
2450
2506
  name: "additionalBranchPrefix",
2507
+ scopes: sharedScopes,
2451
2508
  description: "Additional string value to be appended to `branchPrefix`.",
2452
2509
  type: "string",
2453
2510
  default: "",
@@ -2456,6 +2513,7 @@ const options = [
2456
2513
  },
2457
2514
  {
2458
2515
  name: "branchTopic",
2516
+ scopes: sharedScopes,
2459
2517
  description: "Branch topic.",
2460
2518
  type: "string",
2461
2519
  default: "{{{depNameSanitized}}}-{{{newMajor}}}{{#if separateMinorPatch}}{{#if isPatch}}.{{{newMinor}}}{{/if}}{{/if}}{{#if separateMultipleMinor}}{{#if isMinor}}.{{{newMinor}}}{{/if}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}",
@@ -2464,6 +2522,7 @@ const options = [
2464
2522
  },
2465
2523
  {
2466
2524
  name: "commitMessage",
2525
+ scopes: sharedScopes,
2467
2526
  description: "Message to use for commit messages and pull request titles.",
2468
2527
  type: "string",
2469
2528
  default: "{{{commitMessagePrefix}}} {{{commitMessageAction}}} {{{commitMessageTopic}}} {{{commitMessageExtra}}} {{{commitMessageSuffix}}}",
@@ -2473,6 +2532,7 @@ const options = [
2473
2532
  },
2474
2533
  {
2475
2534
  name: "commitBody",
2535
+ scopes: sharedScopes,
2476
2536
  description: "Commit message body template. Will be appended to commit message, separated by two line returns.",
2477
2537
  type: "string",
2478
2538
  cli: false,
@@ -2480,12 +2540,14 @@ const options = [
2480
2540
  },
2481
2541
  {
2482
2542
  name: "commitBodyTable",
2543
+ scopes: sharedScopes,
2483
2544
  description: "If enabled, append a table in the commit message body describing all updates in the commit.",
2484
2545
  type: "boolean",
2485
2546
  default: false
2486
2547
  },
2487
2548
  {
2488
2549
  name: "commitTrailers",
2550
+ scopes: sharedScopes,
2489
2551
  description: "Structured git trailers (`Key: value` lines) to add in the final block of the commit message.",
2490
2552
  type: "array",
2491
2553
  subType: "string",
@@ -2496,6 +2558,7 @@ const options = [
2496
2558
  },
2497
2559
  {
2498
2560
  name: "commitMessagePrefix",
2561
+ scopes: sharedScopes,
2499
2562
  description: "Prefix to add to start of commit messages and PR titles. Uses a semantic prefix if `semanticCommits` is enabled.",
2500
2563
  type: "string",
2501
2564
  cli: false,
@@ -2504,6 +2567,7 @@ const options = [
2504
2567
  },
2505
2568
  {
2506
2569
  name: "commitMessageAction",
2570
+ scopes: sharedScopes,
2507
2571
  description: "Action verb to use in commit messages and PR titles.",
2508
2572
  type: "string",
2509
2573
  default: "Update",
@@ -2513,6 +2577,7 @@ const options = [
2513
2577
  },
2514
2578
  {
2515
2579
  name: "commitMessageTopic",
2580
+ scopes: sharedScopes,
2516
2581
  description: "The upgrade topic/noun used in commit messages and PR titles.",
2517
2582
  type: "string",
2518
2583
  default: "dependency {{depName}}",
@@ -2522,6 +2587,7 @@ const options = [
2522
2587
  },
2523
2588
  {
2524
2589
  name: "commitMessageExtra",
2590
+ scopes: sharedScopes,
2525
2591
  description: "Extra description used after the commit message topic - typically the version.",
2526
2592
  type: "string",
2527
2593
  default: "to {{#if isPinDigest}}{{{newDigestShort}}}{{else}}{{#if isMajor}}{{prettyNewMajor}}{{else}}{{#if isSingleVersion}}{{prettyNewVersion}}{{else}}{{#if newValue}}{{{newValue}}}{{else}}{{{newDigestShort}}}{{/if}}{{/if}}{{/if}}{{/if}}",
@@ -2531,6 +2597,7 @@ const options = [
2531
2597
  },
2532
2598
  {
2533
2599
  name: "commitMessageSuffix",
2600
+ scopes: sharedScopes,
2534
2601
  description: "Suffix to add to end of commit messages and PR titles.",
2535
2602
  type: "string",
2536
2603
  cli: false,
@@ -2539,6 +2606,7 @@ const options = [
2539
2606
  },
2540
2607
  {
2541
2608
  name: "prBodyTemplate",
2609
+ scopes: sharedScopes,
2542
2610
  description: "Pull Request body template. Controls which sections are rendered in the body of the pull request.",
2543
2611
  type: "string",
2544
2612
  default: "{{{header}}}{{{table}}}{{{warnings}}}{{{notes}}}{{{changelogs}}}{{{configDescription}}}{{{controls}}}{{{footer}}}",
@@ -2547,6 +2615,7 @@ const options = [
2547
2615
  },
2548
2616
  {
2549
2617
  name: "prTitle",
2618
+ scopes: sharedScopes,
2550
2619
  description: "Pull Request title template. Inherits from `commitMessage` if null.",
2551
2620
  type: "string",
2552
2621
  default: null,
@@ -2556,6 +2625,7 @@ const options = [
2556
2625
  },
2557
2626
  {
2558
2627
  name: "prTitleStrict",
2628
+ scopes: sharedScopes,
2559
2629
  description: "Whether to bypass appending extra context to the Pull Request title.",
2560
2630
  type: "boolean",
2561
2631
  default: false,
@@ -2564,12 +2634,14 @@ const options = [
2564
2634
  },
2565
2635
  {
2566
2636
  name: "prHeader",
2637
+ scopes: sharedScopes,
2567
2638
  description: "Text added here will be placed first in the PR body.",
2568
2639
  type: "string",
2569
2640
  supportsTemplating: true
2570
2641
  },
2571
2642
  {
2572
2643
  name: "prFooter",
2644
+ scopes: sharedScopes,
2573
2645
  description: "Text added here will be placed last in the PR body, with a divider separator before it.",
2574
2646
  type: "string",
2575
2647
  default: `This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).`,
@@ -2577,6 +2649,7 @@ const options = [
2577
2649
  },
2578
2650
  {
2579
2651
  name: "customizeDashboard",
2652
+ scopes: ["repo"],
2580
2653
  description: "Customize sections in the Dependency Dashboard issue.",
2581
2654
  type: "object",
2582
2655
  default: {},
@@ -2604,6 +2677,7 @@ const options = [
2604
2677
  },
2605
2678
  {
2606
2679
  name: "hashedBranchLength",
2680
+ scopes: sharedScopes,
2607
2681
  description: "If enabled, branch names will use a hashing function to ensure each branch has that length.",
2608
2682
  type: "integer",
2609
2683
  default: null,
@@ -2648,6 +2722,7 @@ const options = [
2648
2722
  },
2649
2723
  {
2650
2724
  name: "labels",
2725
+ scopes: sharedScopes,
2651
2726
  description: "Labels to set in Pull Request.",
2652
2727
  type: "array",
2653
2728
  subType: "string",
@@ -2655,6 +2730,7 @@ const options = [
2655
2730
  },
2656
2731
  {
2657
2732
  name: "addLabels",
2733
+ scopes: sharedScopes,
2658
2734
  description: "Labels to add to Pull Request.",
2659
2735
  type: "array",
2660
2736
  subType: "string",
@@ -2663,18 +2739,21 @@ const options = [
2663
2739
  },
2664
2740
  {
2665
2741
  name: "assignees",
2742
+ scopes: sharedScopes,
2666
2743
  description: "Assignees for Pull Request (either username or email address depending on the platform).",
2667
2744
  type: "array",
2668
2745
  subType: "string"
2669
2746
  },
2670
2747
  {
2671
2748
  name: "assigneesFromCodeOwners",
2749
+ scopes: sharedScopes,
2672
2750
  description: "Determine assignees based on configured code owners and changes in PR.",
2673
2751
  type: "boolean",
2674
2752
  default: false
2675
2753
  },
2676
2754
  {
2677
2755
  name: "expandCodeOwnersGroups",
2756
+ scopes: sharedScopes,
2678
2757
  description: "Expand the configured code owner groups into a full list of group members.",
2679
2758
  type: "boolean",
2680
2759
  default: false,
@@ -2682,36 +2761,42 @@ const options = [
2682
2761
  },
2683
2762
  {
2684
2763
  name: "assigneesSampleSize",
2764
+ scopes: sharedScopes,
2685
2765
  description: "Take a random sample of given size from `assignees`.",
2686
2766
  type: "integer",
2687
2767
  default: null
2688
2768
  },
2689
2769
  {
2690
2770
  name: "assignAutomerge",
2771
+ scopes: sharedScopes,
2691
2772
  description: "Assign reviewers and assignees even if the PR is to be automerged.",
2692
2773
  type: "boolean",
2693
2774
  default: false
2694
2775
  },
2695
2776
  {
2696
2777
  name: "ignoreReviewers",
2778
+ scopes: sharedScopes,
2697
2779
  description: "Reviewers to be ignored in PR reviewers presence (either username or email address depending on the platform).",
2698
2780
  type: "array",
2699
2781
  subType: "string"
2700
2782
  },
2701
2783
  {
2702
2784
  name: "reviewers",
2785
+ scopes: sharedScopes,
2703
2786
  description: "Requested reviewers for Pull Requests (either username or email address depending on the platform).",
2704
2787
  type: "array",
2705
2788
  subType: "string"
2706
2789
  },
2707
2790
  {
2708
2791
  name: "reviewersFromCodeOwners",
2792
+ scopes: sharedScopes,
2709
2793
  description: "Determine reviewers based on configured code owners and changes in PR.",
2710
2794
  type: "boolean",
2711
2795
  default: false
2712
2796
  },
2713
2797
  {
2714
2798
  name: "filterUnavailableUsers",
2799
+ scopes: sharedScopes,
2715
2800
  description: "Filter reviewers and assignees based on their availability.",
2716
2801
  type: "boolean",
2717
2802
  default: false,
@@ -2733,12 +2818,14 @@ const options = [
2733
2818
  },
2734
2819
  {
2735
2820
  name: "reviewersSampleSize",
2821
+ scopes: sharedScopes,
2736
2822
  description: "Take a random sample of given size from `reviewers`.",
2737
2823
  type: "integer",
2738
2824
  default: null
2739
2825
  },
2740
2826
  {
2741
2827
  name: "additionalReviewers",
2828
+ scopes: sharedScopes,
2742
2829
  description: "Additional reviewers for Pull Requests (in contrast to `reviewers`, this option adds to the existing reviewer list, rather than replacing it).",
2743
2830
  type: "array",
2744
2831
  subType: "string",
@@ -2755,7 +2842,8 @@ const options = [
2755
2842
  mergeable: true,
2756
2843
  cli: false,
2757
2844
  env: false,
2758
- parents: [...AllManagersListLiteral, "customManagers"]
2845
+ scopes: ["manager"],
2846
+ parents: ["customManagers"]
2759
2847
  },
2760
2848
  {
2761
2849
  name: "postUpdateOptions",
@@ -2816,6 +2904,7 @@ const options = [
2816
2904
  },
2817
2905
  {
2818
2906
  name: "hostRules",
2907
+ scopes: ["repo"],
2819
2908
  description: "Host rules/configuration including credentials.",
2820
2909
  type: "array",
2821
2910
  subType: "object",
@@ -3040,6 +3129,7 @@ const options = [
3040
3129
  },
3041
3130
  {
3042
3131
  name: "prBodyDefinitions",
3132
+ scopes: sharedScopes,
3043
3133
  description: "Table column definitions to use in PR tables.",
3044
3134
  type: "object",
3045
3135
  freeChoice: true,
@@ -3062,6 +3152,7 @@ const options = [
3062
3152
  },
3063
3153
  {
3064
3154
  name: "prBodyHeadingDefinitions",
3155
+ scopes: sharedScopes,
3065
3156
  description: "Table header definitions to use in PR tables.",
3066
3157
  type: "object",
3067
3158
  freeChoice: true,
@@ -3075,6 +3166,7 @@ const options = [
3075
3166
  },
3076
3167
  {
3077
3168
  name: "prBodyColumns",
3169
+ scopes: sharedScopes,
3078
3170
  description: "List of columns to use in PR bodies.",
3079
3171
  type: "array",
3080
3172
  subType: "string",
@@ -3088,6 +3180,7 @@ const options = [
3088
3180
  },
3089
3181
  {
3090
3182
  name: "prBodyNotes",
3183
+ scopes: sharedScopes,
3091
3184
  description: "List of extra notes or templates to include in the Pull Request body.",
3092
3185
  type: "array",
3093
3186
  subType: "string",
@@ -3098,6 +3191,7 @@ const options = [
3098
3191
  },
3099
3192
  {
3100
3193
  name: "suppressNotifications",
3194
+ scopes: sharedScopes,
3101
3195
  description: "Options to suppress various types of warnings and other notifications.",
3102
3196
  type: "array",
3103
3197
  subType: "string",
@@ -3119,6 +3213,7 @@ const options = [
3119
3213
  },
3120
3214
  {
3121
3215
  name: "pruneStaleBranches",
3216
+ scopes: ["repo"],
3122
3217
  description: "Set to `false` to disable pruning stale branches.",
3123
3218
  type: "boolean",
3124
3219
  default: true
@@ -3132,12 +3227,14 @@ const options = [
3132
3227
  },
3133
3228
  {
3134
3229
  name: "gitLabIgnoreApprovals",
3230
+ scopes: sharedScopes,
3135
3231
  description: `Ignore approval rules for MRs created by Renovate, which is useful for automerge.`,
3136
3232
  type: "boolean",
3137
3233
  default: false
3138
3234
  },
3139
3235
  {
3140
3236
  name: "customManagers",
3237
+ scopes: ["repo"],
3141
3238
  description: "Custom managers using regex matching.",
3142
3239
  type: "array",
3143
3240
  subType: "object",
@@ -3292,12 +3389,14 @@ const options = [
3292
3389
  },
3293
3390
  {
3294
3391
  name: "cloneSubmodules",
3392
+ scopes: ["repo"],
3295
3393
  description: "Set to `true` to initialize submodules during repository clone.",
3296
3394
  type: "boolean",
3297
3395
  default: false
3298
3396
  },
3299
3397
  {
3300
3398
  name: "cloneSubmodulesFilter",
3399
+ scopes: ["repo"],
3301
3400
  description: "List of submodules names or patterns to clone when cloneSubmodules=true.",
3302
3401
  type: "array",
3303
3402
  subType: "string",
@@ -3341,6 +3440,7 @@ const options = [
3341
3440
  },
3342
3441
  {
3343
3442
  name: "updatePinnedDependencies",
3443
+ scopes: lookupScopes,
3344
3444
  description: "Whether to update pinned (single version) dependencies or not.",
3345
3445
  type: "boolean",
3346
3446
  default: true
@@ -3375,6 +3475,7 @@ const options = [
3375
3475
  },
3376
3476
  {
3377
3477
  name: "platformAutomerge",
3478
+ scopes: sharedScopes,
3378
3479
  description: `Controls if platform-native auto-merge is used.`,
3379
3480
  type: "boolean",
3380
3481
  default: true,
@@ -3402,6 +3503,7 @@ const options = [
3402
3503
  },
3403
3504
  {
3404
3505
  name: "platformCommit",
3506
+ scopes: sharedScopes,
3405
3507
  description: "Use platform API to perform commits instead of using Git directly.",
3406
3508
  type: "string",
3407
3509
  default: "auto",
@@ -3414,6 +3516,7 @@ const options = [
3414
3516
  },
3415
3517
  {
3416
3518
  name: "branchNameStrict",
3519
+ scopes: sharedScopes,
3417
3520
  description: `Whether to be strict about the use of special characters within the branch name.`,
3418
3521
  type: "boolean",
3419
3522
  default: false
@@ -3483,6 +3586,7 @@ const options = [
3483
3586
  },
3484
3587
  {
3485
3588
  name: "milestone",
3589
+ scopes: sharedScopes,
3486
3590
  description: `The number of a milestone. If set, the milestone will be set when Renovate creates the PR.`,
3487
3591
  type: "integer",
3488
3592
  default: null,