From 2ba18acecb7e0e7edf4698afd86ff670d84b1b94 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Sep 2022 14:23:48 +0000 Subject: [PATCH 1/5] Add renovate.json --- renovate.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 000000000..f9c2c3270 --- /dev/null +++ b/renovate.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:base" + ] +} From fa1f33a81bde24aa98f5ce980f341cf92e56ac6b Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Fri, 9 Sep 2022 15:09:54 +0300 Subject: [PATCH 2/5] Move config to .github to keep root tidy --- renovate.json => .github/renovate.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename renovate.json => .github/renovate.json (100%) diff --git a/renovate.json b/.github/renovate.json similarity index 100% rename from renovate.json rename to .github/renovate.json From 4c703080318cf6f9b1a2b516058e43e453ca4f86 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Fri, 9 Sep 2022 15:13:15 +0300 Subject: [PATCH 3/5] Group GHA updates into a single PR, run once a month --- .github/renovate.json | 10 +++++++++- .pre-commit-config.yaml | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/renovate.json b/.github/renovate.json index f9c2c3270..244ea0a80 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -2,5 +2,13 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "config:base" - ] + ], + "packageRules": [ + { + "groupName": "github-actions", + "matchManagers": ["github-actions"], + "separateMajorMinor": "false" + } + ], + "schedule": ["on the first day of the month"] } diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d51f68d28..867207392 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,6 +3,7 @@ repos: rev: 3298ddab3c13dd77d6ce1fc0baf97691430d84b0 # frozen: v4.3.0 hooks: - id: check-merge-conflict + - id: check-json - id: check-yaml ci: From b381dc3c0c662fd4b5e3a8f23a959858eda20ea7 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Fri, 9 Sep 2022 16:26:08 +0300 Subject: [PATCH 4/5] Avoid busy days to keep the CI free Release days can be 1st, 2nd or 15th: https://github.com/python-pillow/Pillow/blob/main/RELEASING.md Also Renovate can run on the main repo on the 3rd. --- .github/renovate.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/renovate.json b/.github/renovate.json index 244ea0a80..857e4f13a 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -10,5 +10,5 @@ "separateMajorMinor": "false" } ], - "schedule": ["on the first day of the month"] + "schedule": ["on the fourth day of the month"] } From ad3e483a961c8b67dd0a606472269b810ed52cd1 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Mon, 19 Sep 2022 17:26:02 +0300 Subject: [PATCH 5/5] Fix schedule parsing --- .github/renovate.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/renovate.json b/.github/renovate.json index 857e4f13a..812c34550 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -10,5 +10,5 @@ "separateMajorMinor": "false" } ], - "schedule": ["on the fourth day of the month"] + "schedule": ["on the 4th day of the month"] }