From dc877f0a5a0fb68cb74f8395dca52ab25f03f593 Mon Sep 17 00:00:00 2001 From: David Ko Date: Sun, 12 Jan 2025 19:24:13 +0800 Subject: [PATCH] Update and rename renovate.json to renovate.json5 --- renovate.json | 6 ------ renovate.json5 | 28 ++++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 6 deletions(-) delete mode 100644 renovate.json create mode 100644 renovate.json5 diff --git a/renovate.json b/renovate.json deleted file mode 100644 index 5db72dd..0000000 --- a/renovate.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:recommended" - ] -} diff --git a/renovate.json5 b/renovate.json5 new file mode 100644 index 0000000..2bbe310 --- /dev/null +++ b/renovate.json5 @@ -0,0 +1,28 @@ +{ + $schema: "https://docs.renovatebot.com/renovate-schema.json", + extends: [ + "config:recommended", + "schedule:nonOfficeHours" + ], + baseBranches: ["dev"], + timezone: "Asia/Taipei", + statusCheckNames: { + buildPass: "Build - linux x86_64" + }, + enabledManagers: ["dockerfile", "cargo", "github-actions"], + vulnerabilityAlerts: { + labels: ["security"], + automerge: true + }, + packageRules: [ + { + matchUpdateTypes: ["major", "minor"], + enabled: false + }, + { + matchUpdateTypes: ["patch", "pin", "digest"], + automerge: true, + autoApprove: true, + } + ] +}