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