mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-06 22:08:46 +00:00
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Rui Chen <rui@chenrui.dev> Co-authored-by: PePe Amengual <jose.amengual@gmail.com> Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
120 lines
3.0 KiB
Plaintext
120 lines
3.0 KiB
Plaintext
{
|
|
extends: [
|
|
'config:best-practices',
|
|
':separateMultipleMajorReleases',
|
|
'schedule:daily',
|
|
],
|
|
commitMessageSuffix: ' in {{packageFile}}',
|
|
dependencyDashboardAutoclose: true,
|
|
automerge: true,
|
|
baseBranches: [
|
|
'main',
|
|
'/^release-.*/',
|
|
],
|
|
platformAutomerge: true,
|
|
labels: [
|
|
'dependencies',
|
|
],
|
|
postUpdateOptions: [
|
|
'gomodTidy',
|
|
'gomodUpdateImportPaths',
|
|
'npmDedupe',
|
|
],
|
|
prHourlyLimit: 1,
|
|
minimumReleaseAge: '5 days',
|
|
osvVulnerabilityAlerts: true,
|
|
vulnerabilityAlerts: {
|
|
enabled: true,
|
|
labels: [
|
|
'security',
|
|
],
|
|
},
|
|
packageRules: [
|
|
{
|
|
matchFileNames: [
|
|
'package.json',
|
|
],
|
|
enabled: false,
|
|
},
|
|
{
|
|
matchFileNames: [
|
|
'testing/**',
|
|
],
|
|
additionalBranchPrefix: '{{packageFileDir}}-',
|
|
groupName: 'conftest-testing',
|
|
matchPackageNames: [
|
|
'/conftest/',
|
|
],
|
|
},
|
|
{
|
|
ignorePaths: [
|
|
'testing/**',
|
|
],
|
|
groupName: 'github-',
|
|
matchPackageNames: [
|
|
'/github-actions/',
|
|
],
|
|
},
|
|
{
|
|
matchDatasources: [
|
|
'docker',
|
|
],
|
|
matchPackageNames: [
|
|
'node',
|
|
'cimg/node',
|
|
],
|
|
versioning: 'node',
|
|
},
|
|
{
|
|
matchPackageNames: [
|
|
'go',
|
|
'golang',
|
|
],
|
|
versioning: 'go',
|
|
groupName: 'go',
|
|
},
|
|
],
|
|
customManagers: [
|
|
{
|
|
customType: 'regex',
|
|
fileMatch: [
|
|
'(^|/)Dockerfile$',
|
|
'(^|/)Dockerfile\\.[^/]*$',
|
|
],
|
|
matchStrings: [
|
|
// example:
|
|
// # renovate: datasource=github-releases depName=hashicorp/terraform versioning=hashicorp
|
|
// ENV DEFAULT_TERRAFORM_VERSION=x.x.x
|
|
// # renovate: datasource=github-releases depName=open-policy-agent/conftest
|
|
// ARG DEFAULT_CONFTEST_VERSION=x.x.x
|
|
'renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s(ARG|ENV) .*?_VERSION=(?<currentValue>.*)\\s',
|
|
],
|
|
versioningTemplate: '{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}',
|
|
extractVersionTemplate: '^v(?<version>\\d+\\.\\d+\\.\\d+)',
|
|
},
|
|
{
|
|
customType: 'regex',
|
|
fileMatch: [
|
|
'.*go$',
|
|
],
|
|
matchStrings: [
|
|
'\\sconst .*Version = "(?<currentValue>.*)"\\s// renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s',
|
|
],
|
|
versioningTemplate: '{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}',
|
|
extractVersionTemplate: '^v(?<version>\\d+\\.\\d+\\.\\d+)',
|
|
},
|
|
{
|
|
customType: 'regex',
|
|
fileMatch: [
|
|
'^\\.github/workflows/[^/]+\\.ya?ml$',
|
|
'Makefile$',
|
|
],
|
|
matchStrings: [
|
|
'renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s.*?_VERSION: (?<currentValue>.*)\\s',
|
|
],
|
|
versioningTemplate: '{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}',
|
|
extractVersionTemplate: '^v(?<version>\\d+\\.\\d+\\.\\d+)',
|
|
},
|
|
],
|
|
}
|