diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 3762ddd2..78e1f8f2 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -4,5 +4,31 @@ "github>bpg/renovate-config", "github>bpg/renovate-config:automerge-github-actions", ], + "postUpdateOptions": [ + "gomodTidy", + "gomodUpdateImportPaths", + ], "rebaseWhen": "behind-base-branch", + "packageRules": [ + { + "matchUpdateTypes": [ + "major", + "minor", + "patch", + ], + "semanticCommitType": "chore", + "semanticCommitScope": "deps", + "commitMessageExtra": "({{currentVersion}} → {{newVersion}})", + }, + { + "matchUpdateTypes": ["digest"], + "semanticCommitType": "chore", + "semanticCommitScope": "deps", + "commitMessageExtra": "({{currentDigestShort}} → {{newDigestShort}})", + }, + { + "matchManagers": ["github-actions"], + "semanticCommitScope": "ci", + }, + ] }