From 6004a2b68ff4c345209a6ae17772d3acd5a3cdcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Tue, 31 Dec 2024 19:49:28 +0100 Subject: [PATCH] MNT: update renovate config and drop dependabot --- .github/dependabot.yml | 31 ------------------------------- .github/renovate.json5 | 22 ++++++++++++++++++++++ renovate.json | 16 ---------------- 3 files changed, 22 insertions(+), 47 deletions(-) delete mode 100644 .github/dependabot.yml create mode 100644 .github/renovate.json5 delete mode 100644 renovate.json diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 024bf75..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,31 +0,0 @@ -# Please see the documentation for all configuration options: -# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates - -version: 2 -updates: -- package-ecosystem: pip - directory: /requirements - schedule: - interval: monthly - groups: - actions: - patterns: - - '*' - -- package-ecosystem: pip - directory: /docs - schedule: - interval: monthly - groups: - actions: - patterns: - - '*' - -- package-ecosystem: github-actions - directory: /.github/workflows - schedule: - interval: monthly - groups: - actions: - patterns: - - '*' diff --git a/.github/renovate.json5 b/.github/renovate.json5 new file mode 100644 index 0000000..6a318f5 --- /dev/null +++ b/.github/renovate.json5 @@ -0,0 +1,22 @@ +{ + $schema: "https://docs.renovatebot.com/renovate-schema.json", + extends: [ + "config:recommended" + ], + labels: [ + "dependencies", + ], + schedule: [ + // at 2 a.m. on the first day of the month + // note that the first slot (minutes) must be '*' + "* 2 1 * *", + ], + lockFileMaintenance: { + enabled: true, + }, + pep723: { + fileMatch: [ + "scripts/*.py", + ], + }, +} diff --git a/renovate.json b/renovate.json deleted file mode 100644 index 40be276..0000000 --- a/renovate.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends": [ - "config:recommended" - ], - "schedule": [ - "* 2 1 * *" - ], - "packageRules": [ - { - "matchFileNames": [ - "uv.lock" - ], - "enabled": true - } - ] -}