Преглед на файлове

Add renovate config

pull/1216/head
Andras Elso преди 6 месеца
родител
ревизия
6b189b6538
променени са 1 файла, в които са добавени 63 реда и са изтрити 0 реда
  1. +63
    -0
      renovate.json5

+ 63
- 0
renovate.json5 Целия файл

@@ -0,0 +1,63 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"configMigration": true,
"extends": [
'config:recommended',

// Make sure we get a single PR combining all updates
'group:all',
],
"automerge": false,
"separateMinorPatch": true,
"gitAuthor": "renovate[bot] <bot@renovateapp.com>",
"enabledManagers": [
"dockerfile",
"custom.regex"
],
"packageRules": [
{
"matchDatasources": [
"repology"
],
"matchPackagePatterns": [
"^debian_"
],
"groupName": "debian packages",
"groupSlug": "debian"
},
{
"matchDatasources": [
"repology"
],
"matchPackagePatterns": [
"^ubuntu_"
],
"groupName": "ubuntu packages",
"groupSlug": "ubuntu"
}
],
"customManagers": [
{
"description": "Update packages set in Dockerfiles",
"customType": "regex",
"fileMatch": [
'(^|/|\\.)([Dd]ocker|[Cc]ontainer)file$',
'(^|/)([Dd]ocker|[Cc]ontainer)file[^/]*$',
],
"matchStrings": [
"#\\srenovate:\\sdatasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( extractVersion=(?<extractVersion>.*?))?\\s(ENV|ARG) .*?_VERSION=\"(?<currentValue>.*)\"\\s"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}loose{{/if}}",
"datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}repology{{/if}}"
}
],

// Disable dependency dashboard
"dependencyDashboard": false,

// Use our labelling system
"labels": ['dependencies'],

// We generally always want the major version
"separateMajorMinor": false,
}

Зареждане…
Отказ
Запис