From 3e41f706a25d9ddedacba708616fe82c667a2bb1 Mon Sep 17 00:00:00 2001 From: Mohammadi Iram <89964724+MohammadiIram@users.noreply.github.com> Date: Wed, 6 Nov 2024 09:54:18 +0530 Subject: [PATCH] Update renovate.json for tekton and dockerfile Signed-off-by: Mohammadi Iram <89964724+MohammadiIram@users.noreply.github.com> --- .github/renovate.json | 71 ++++++++++++++++++++++++++++++++++--------- 1 file changed, 57 insertions(+), 14 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 6668de3d..c80c5a28 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -9,19 +9,62 @@ "automergeType": "pr", "automerge": true, "enabledManagers": ["dockerfile", "tekton"], - "packageRules": [ - { - "matchUpdateTypes": ["*"], - "enabled": false - }, - { - "matchUpdateTypes": ["digest"], - "enabled": true - }, - { - "matchFileNames": ["*Dockerfile.konflux*", ".tekton/**"], - "enabled": true - } - ], + "dockerfile": { + "enabled": true, + "additionalBranchPrefix": "{{baseBranch}}/", + "branchPrefix": "konflux/mintmaker/", + "packageRules": [ + { + "matchUpdateTypes": ["*"], + "enabled": false + }, + { + "matchUpdateTypes": ["digest"], + "enabled": true + }, + { + "matchFileNames": ["*Dockerfile.konflux*"], + "enabled": true + } + ] + }, + "tekton": { + "fileMatch": [ + "\\.yaml$", + "\\.yml$" + ], + "includePaths": [ + ".tekton/**" + ], + "packageRules": [ + { + "matchPackagePatterns": [ + "^quay.io/redhat-appstudio-tekton-catalog/", + "^quay.io/konflux-ci/tekton-catalog/" + ], + "enabled": true, + "groupName": "Konflux references", + "branchPrefix": "konflux/references/", + "group": { + "branchTopic": "{{{baseBranch}}}", + "commitMessageTopic": "{{{groupName}}}" + }, + "commitMessageTopic": "Konflux references", + "semanticCommits": "enabled", + "prFooter": "To execute skipped test pipelines write comment `/ok-to-test`", + "prBodyColumns": [ + "Package", + "Change", + "Notes" + ], + "prBodyDefinitions": { + "Notes": "{{#if (or (containsString updateType 'minor') (containsString updateType 'major'))}}:warning:[migration](https://github.com/redhat-appstudio/build-definitions/blob/main/task/{{{replace '^quay.io/(redhat-appstudio-tekton-catalog|konflux-ci/tekton-catalog)/task-' '' packageName}}}/{{{newVersion}}}/MIGRATION.md):warning:{{/if}}" + }, + "prBodyTemplate": "{{{header}}}{{{table}}}{{{notes}}}{{{changelogs}}}{{{controls}}}{{{footer}}}", + "recreateWhen": "always", + "rebaseWhen": "behind-base-branch" + } + ] + }, "prHourlyLimit": 0 }