mirror of
https://github.com/ivuorinen/renovate-config.git
synced 2026-03-23 01:05:44 +00:00
chore(ci): update config, add managers
This commit is contained in:
@@ -8,4 +8,3 @@ insert_final_newline = true
|
|||||||
charset = utf-8
|
charset = utf-8
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
|
||||||
|
|||||||
20
.github/renovate.json
vendored
Normal file
20
.github/renovate.json
vendored
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"assignees": [
|
||||||
|
"ivuorinen"
|
||||||
|
],
|
||||||
|
"automergeType": "pr",
|
||||||
|
"extends": [
|
||||||
|
"github>ivuorinen/renovate-config"
|
||||||
|
],
|
||||||
|
"packageRules": [
|
||||||
|
{
|
||||||
|
"automerge": true,
|
||||||
|
"matchPackageNames": [
|
||||||
|
"renovate"
|
||||||
|
],
|
||||||
|
"separateMinorPatch": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"prCreation": "immediate"
|
||||||
|
}
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
# See https://pre-commit.com/hooks.html for more hooks
|
# See https://pre-commit.com/hooks.html for more hooks
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v5.0.0
|
rev: v6.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-added-large-files
|
- id: check-added-large-files
|
||||||
- id: check-case-conflict
|
- id: check-case-conflict
|
||||||
@@ -16,7 +16,7 @@ repos:
|
|||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
|
|
||||||
- repo: https://github.com/renovatebot/pre-commit-hooks
|
- repo: https://github.com/renovatebot/pre-commit-hooks
|
||||||
rev: 39.164.1
|
rev: 41.82.5
|
||||||
hooks:
|
hooks:
|
||||||
- id: renovate-config-validator
|
- id: renovate-config-validator
|
||||||
files: default.json
|
files: default.json
|
||||||
|
|||||||
18
default.json
18
default.json
@@ -2,6 +2,7 @@
|
|||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"assigneesFromCodeOwners": true,
|
"assigneesFromCodeOwners": true,
|
||||||
"commitBody": "Signed-off-by: {{{gitAuthor}}}",
|
"commitBody": "Signed-off-by: {{{gitAuthor}}}",
|
||||||
|
"commitMessageAction": "update",
|
||||||
"commitMessageExtra": "to {{newVersion}}",
|
"commitMessageExtra": "to {{newVersion}}",
|
||||||
"commitMessageSuffix": "",
|
"commitMessageSuffix": "",
|
||||||
"commitMessageTopic": "{{depName}}",
|
"commitMessageTopic": "{{depName}}",
|
||||||
@@ -14,8 +15,8 @@
|
|||||||
"Upgrade Dockerfile ENV and FROM variables base on regex. ",
|
"Upgrade Dockerfile ENV and FROM variables base on regex. ",
|
||||||
"See https://docs.renovatebot.com/configuration-options/#matchstringsstrategy"
|
"See https://docs.renovatebot.com/configuration-options/#matchstringsstrategy"
|
||||||
],
|
],
|
||||||
"fileMatch": [
|
"managerFilePatterns": [
|
||||||
"^Dockerfile$"
|
"/^Dockerfile$/"
|
||||||
],
|
],
|
||||||
"matchStrings": [
|
"matchStrings": [
|
||||||
"ENV [A-Z]+_VERSION=(?<currentValue>.*) # (?<datasource>.*?)/(?<depName>.*?)(\\&versioning=(?<versioning>.*?))?\\s",
|
"ENV [A-Z]+_VERSION=(?<currentValue>.*) # (?<datasource>.*?)/(?<depName>.*?)(\\&versioning=(?<versioning>.*?))?\\s",
|
||||||
@@ -53,7 +54,6 @@
|
|||||||
"**/.archive/**"
|
"**/.archive/**"
|
||||||
],
|
],
|
||||||
"lockFileMaintenance": {
|
"lockFileMaintenance": {
|
||||||
"commitMessageAction": "Update",
|
|
||||||
"extends": [
|
"extends": [
|
||||||
"group:all"
|
"group:all"
|
||||||
]
|
]
|
||||||
@@ -274,7 +274,7 @@
|
|||||||
"minor"
|
"minor"
|
||||||
],
|
],
|
||||||
"semanticCommitScope": "github-action",
|
"semanticCommitScope": "github-action",
|
||||||
"semanticCommitType": "feat"
|
"semanticCommitType": "chore"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"commitMessageExtra": "({{currentVersion}} → {{newVersion}})",
|
"commitMessageExtra": "({{currentVersion}} → {{newVersion}})",
|
||||||
@@ -286,7 +286,7 @@
|
|||||||
"patch"
|
"patch"
|
||||||
],
|
],
|
||||||
"semanticCommitScope": "github-action",
|
"semanticCommitScope": "github-action",
|
||||||
"semanticCommitType": "fix"
|
"semanticCommitType": "chore"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"automerge": true,
|
"automerge": true,
|
||||||
@@ -437,6 +437,14 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"postUpdateOptions": [
|
||||||
|
"gomodUpdateImportPaths",
|
||||||
|
"npmDedupe",
|
||||||
|
"composerWithAll"
|
||||||
|
],
|
||||||
|
"pre-commit": {
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
"separateMajorMinor": true,
|
"separateMajorMinor": true,
|
||||||
"separateMinorPatch": false,
|
"separateMinorPatch": false,
|
||||||
"separateMultipleMajor": true,
|
"separateMultipleMajor": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user