From d74e9480e5868b3e7987d1b1845f7c7af905c63b Mon Sep 17 00:00:00 2001 From: Fabiana Campanari Date: Sun, 26 May 2024 16:43:54 -0300 Subject: [PATCH] renovate.json Signed-off-by: Fabiana Campanari --- renovate.json | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..93d077d --- /dev/null +++ b/renovate.json @@ -0,0 +1,60 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["github>renovatebot/.github"], + "assignees": ["rarkins", "viceice"], + "semanticCommitScope": "deps", + "automergeType": "pr", + "prCreation": "immediate", + "dockerfile": { + "semanticCommitType": "build" + }, + "packageRules": [ + { + "matchPackageNames": ["containerbase/node"], + "versioning": "node" + }, + { + "matchDepTypes": ["dependencies"], + "semanticCommitType": "build" + }, + { + "matchPackageNames": ["semantic-release"], + "semanticCommitType": "build" + }, + { + "matchPackageNames": ["@types/jest"], + "groupName": "jest monorepo" + }, + { + "matchFileNames": ["**/__fixtures__/**"], + "enabled": false + }, + { + "description": "set fix scope for base image", + "matchDepNames": ["ghcr.io/renovatebot/base-image"], + "semanticCommitType": "fix" + }, + { + "description": "set feat scope for base image major", + "matchDepNames": ["ghcr.io/renovatebot/base-image"], + "matchUpdateTypes": ["major", "minor"], + "semanticCommitType": "feat" + }, + { + "description": "fix versioning for ben-z/gh-action-mutex, eg v1.0-alpha-8", + "matchDepNames": ["ben-z/gh-action-mutex"], + "matchManagers": ["github-actions"], + "versioning": "regex:^v(?\\d+)\\.(?\\d+)(?:\\.(?\\d+))?(?\\-.+)?$" + } + ], + "customManagers": [ + { + "customType": "regex", + "fileMatch": ["config/options/index.ts"], + "matchStrings": [ + "default: '(?ghcr.io/containerbase/sidecar):(?.*)'" + ], + "datasourceTemplate": "docker" + } + ] +}