From cd444d57e2de12c3a96eda0977fc574c8e9ff1e0 Mon Sep 17 00:00:00 2001 From: Michael Ernst Date: Thu, 1 Jun 2023 07:45:00 -0700 Subject: [PATCH] Update com.amazonaws:aws-java-sdk-bom on the last day of the month --- .github/renovate.json | 2 +- .github/renovate.json-README | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 08be30c37e5..f49525052ae 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -11,7 +11,7 @@ "packageRules": [ { "matchPackageNames": ["com.amazonaws:aws-java-sdk-bom"], - "schedule": ["before 3am on the first day of the month"] + "schedule": ["on the last day of the month"] } ] } diff --git a/.github/renovate.json-README b/.github/renovate.json-README index cd94c8f9505..c76a92be890 100644 --- a/.github/renovate.json-README +++ b/.github/renovate.json-README @@ -1,8 +1,18 @@ +This works: + + "packageRules": [ + { + "matchPackageNames": ["com.amazonaws:aws-java-sdk-bom"], + "schedule": ["before 3am on the first day of the month"] + } + ] + +=========================================================================== + This schedule doesn't work: Renovate accepts it but updates the dependency every day. - "schedule": ["on the last day of the month"], + "schedule": ["on the last day of the month"] This schedule doesn't work: Renovate accepts it but updates the dependency every day. "schedule": ["* 23 28 * *"] - -Or, more likely, the problem was with +Or, more likely, the problems were with "matchPackageNames": ["aws-java-sdk-bom"], which I used for both of the above.