From d10098a0ca62d8f24b0b467e5ce5d87262d01a18 Mon Sep 17 00:00:00 2001 From: Ugo Mignon Date: Fri, 12 Apr 2024 08:46:08 +0200 Subject: [PATCH] ci(renovate): add renovate --- .editorconfig | 9 ++++++ renovate.json | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+) create mode 100644 .editorconfig create mode 100644 renovate.json diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..edb33ca --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +indent_style = space +indent_size = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true \ No newline at end of file diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..52ca627 --- /dev/null +++ b/renovate.json @@ -0,0 +1,89 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended" + ], + "packageRules": [ + { + "groupName": "Actions dependencies", + "groupSlug": "actions-minor-patch", + "matchManagers": [ + "github-actions" + ], + "matchUpdateTypes": [ + "minor", + "patch" + ], + "addLabels": [ + "🤖 actions" + ] + }, + { + "groupName": "frontend dependencies", + "groupSlug": "frontend-minor-patch", + "matchManagers": [ + "npm" + ], + "matchUpdateTypes": [ + "minor", + "patch" + ], + "addLabels": [ + "🌐 frontend" + ] + }, + { + "groupName": "backend dependencies", + "groupSlug": "backend-minor-patch", + "matchManagers": [ + "composer" + ], + "matchUpdateTypes": [ + "minor", + "patch" + ], + "addLabels": [ + "🔙 backend" + ] + }, + { + "groupName": "docker dependencies", + "groupSlug": "docker-minor-patch", + "matchManagers": [ + "dockerfile", + "docker-compose" + ], + "matchUpdateTypes": [ + "minor", + "patch" + ], + "addLabels": [ + "🐳 docker" + ] + }, + { + "matchUpdateTypes": [ + "major" + ], + "addLabels": [ + "🚨 major" + ] + }, + { + "matchUpdateTypes": [ + "minor" + ], + "addLabels": [ + "✨ minor" + ] + }, + { + "matchUpdateTypes": [ + "patch" + ], + "addLabels": [ + "🛠️ patch" + ] + } + ] +}