From 9129dd7947cd302d08b86015c2ab7086a3e8eb88 Mon Sep 17 00:00:00 2001 From: Dafydd Jones Date: Fri, 15 Nov 2024 16:07:03 +0000 Subject: [PATCH] fix(renovate): commit type should be `fix` when template files are affected --- template/template/.github/renovate.json5 | 4 ++++ test/GenerateProject/renovate_json5.tt | 4 ++++ test/GenerateProject/template_renovate_json5.tt | 4 ++++ test/GenerateProjectWithName/renovate_json5.tt | 4 ++++ test/GenerateProjectWithName/template_renovate_json5.tt | 4 ++++ 5 files changed, 20 insertions(+) diff --git a/template/template/.github/renovate.json5 b/template/template/.github/renovate.json5 index c759f05..70ce5ab 100644 --- a/template/template/.github/renovate.json5 +++ b/template/template/.github/renovate.json5 @@ -12,6 +12,10 @@ "enabled": true }, "packageRules": [ + { + "matchFileNames": ["template/**"], + "semanticCommitType": "fix", + }, { "matchManagers": ["git-submodules"], "automerge": true, diff --git a/test/GenerateProject/renovate_json5.tt b/test/GenerateProject/renovate_json5.tt index c759f05..70ce5ab 100644 --- a/test/GenerateProject/renovate_json5.tt +++ b/test/GenerateProject/renovate_json5.tt @@ -12,6 +12,10 @@ "enabled": true }, "packageRules": [ + { + "matchFileNames": ["template/**"], + "semanticCommitType": "fix", + }, { "matchManagers": ["git-submodules"], "automerge": true, diff --git a/test/GenerateProject/template_renovate_json5.tt b/test/GenerateProject/template_renovate_json5.tt index c759f05..70ce5ab 100644 --- a/test/GenerateProject/template_renovate_json5.tt +++ b/test/GenerateProject/template_renovate_json5.tt @@ -12,6 +12,10 @@ "enabled": true }, "packageRules": [ + { + "matchFileNames": ["template/**"], + "semanticCommitType": "fix", + }, { "matchManagers": ["git-submodules"], "automerge": true, diff --git a/test/GenerateProjectWithName/renovate_json5.tt b/test/GenerateProjectWithName/renovate_json5.tt index c759f05..70ce5ab 100644 --- a/test/GenerateProjectWithName/renovate_json5.tt +++ b/test/GenerateProjectWithName/renovate_json5.tt @@ -12,6 +12,10 @@ "enabled": true }, "packageRules": [ + { + "matchFileNames": ["template/**"], + "semanticCommitType": "fix", + }, { "matchManagers": ["git-submodules"], "automerge": true, diff --git a/test/GenerateProjectWithName/template_renovate_json5.tt b/test/GenerateProjectWithName/template_renovate_json5.tt index c759f05..70ce5ab 100644 --- a/test/GenerateProjectWithName/template_renovate_json5.tt +++ b/test/GenerateProjectWithName/template_renovate_json5.tt @@ -12,6 +12,10 @@ "enabled": true }, "packageRules": [ + { + "matchFileNames": ["template/**"], + "semanticCommitType": "fix", + }, { "matchManagers": ["git-submodules"], "automerge": true,