From f906cb33f061d6770f693c93201a574a29194c68 Mon Sep 17 00:00:00 2001 From: Mohammadi Iram <89964724+MohammadiIram@users.noreply.github.com> Date: Tue, 5 Nov 2024 16:23:39 +0530 Subject: [PATCH] Update renovate.json for tekton and dockerfile --- .github/renovate.json | 71 ++++++++++++++++++++++++++++++++++--------- 1 file changed, 57 insertions(+), 14 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 43806adcfac..91f067c6974 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 }