Create some renovate presets

This commit is contained in:
nemunaire 2023-05-05 09:40:01 +02:00
commit 5d476dccac
7 changed files with 106 additions and 0 deletions

14
automerge-bootstrap.json Normal file
View File

@ -0,0 +1,14 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Preset for automerging bootstrap related packages",
"packageRules": [
{
"matchPackageNames": [
"bootstrap",
"bootstrap-icons"
],
"automerge": true,
"automergeType": "branch"
}
]
}

11
automerge-common.json Normal file
View File

@ -0,0 +1,11 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Default preset for use with my repos",
"extends": [
"local>iac/renovate-presets//automerge-bootstrap",
"local>iac/renovate-presets//automerge-docker",
"local>iac/renovate-presets//automerge-go",
"local>iac/renovate-presets//automerge-sass",
"local>iac/renovate-presets//automerge-sveltekit",
]
}

14
automerge-docker.json Normal file
View File

@ -0,0 +1,14 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Preset for automerging docker images updated",
"packageRules": [
{
"matchPackageNames": [
"alpine",
"go"
],
"automerge": true,
"automergeType": "branch"
}
]
}

18
automerge-go.json Normal file
View File

@ -0,0 +1,18 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Preset for automerging some go packages",
"packageRules": [
{
"matchPackageNames": [
"github.com/burntsushi/toml",
"github.com/studio-b12/gowebdav",
"golang.org/x/crypto",
"golang.org/x/image",
"golang.org/x/oauth2",
"github.com/yuin/goldmark"
],
"automerge": true,
"automergeType": "branch"
}
]
}

14
automerge-sass.json Normal file
View File

@ -0,0 +1,14 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Preset for automerging sass related packages",
"packageRules": [
{
"matchPackageNames": [
"sass",
"sass-loader"
],
"automerge": true,
"automergeType": "branch"
}
]
}

18
automerge-sveltekit.json Normal file
View File

@ -0,0 +1,18 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Preset for automerging sveltekit related packages",
"packageRules": [
{
"matchPackageNames": [
"@sveltejs/adapter-static",
"@sveltejs/kit",
"eslint",
"prettier",
"svelte-check",
"vite"
],
"automerge": true,
"automergeType": "branch"
}
]
}

17
default.json Normal file
View File

@ -0,0 +1,17 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Default preset for use with my repos",
"extends": [
":ignoreModulesAndTests",
":group:monorepos",
":group:recommended",
":replacements:all",
":workarounds:all",
":enableVulnerabilityAlerts",
"github>whitesource/merge-confidence:beta"
],
"lockFileMaintenance": {
"enabled": true,
"automerge": true
}
}