From 0f01fee5c8da09e09a2145dee7f60b08c0a31413 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Sat, 28 Dec 2024 12:32:24 +0100 Subject: [PATCH] feat(renovate): enable This will ensure our dependencies are kept up to date c: --- .editorconfig | 2 +- .renovaterc.json | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 .renovaterc.json diff --git a/.editorconfig b/.editorconfig index dcf6e40..2ecdb28 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,7 +2,7 @@ end_of_line = lf charset = utf-8 -[*.nix] +[*.{nix,json}] indent_style = space indent_size = 2 trim_trailing_whitespace = true diff --git a/.renovaterc.json b/.renovaterc.json new file mode 100644 index 0000000..b4bf63f --- /dev/null +++ b/.renovaterc.json @@ -0,0 +1,36 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "assignees": [ + "jalil" + ], + "automerge": true, + "automergeStrategy": "fast-forward", + "automergeType": "pr", + "commitBodyTable": true, + "dependencyDashboard": true, + "prCreation": "immediate", + "extends": [ + "config:recommended" + ], + "nix": { + "fileMatch": [ + "(^|/)flake\\.nix$" + ], + "commitMessageTopic": "nixpkgs", + "commitMessageExtra": "to {{newValue}}", + "enabled": true + }, + "lockFileMaintenance": { + "enabled": true, + "recreateWhen": "always", + "rebaseStalePrs": true, + "branchTopic": "lock-file-maintenance", + "commitMessageAction": "Lock file maintenance", + "schedule": [ + "* 1-2 * * *" + ] + }, + "automergeSchedule": [ + "* 1-2 * * *" + ] +}