From b764f18b3422eb5cf95e7d352949c4671393ee6b Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Wed, 18 Oct 2023 10:30:31 -0500 Subject: [PATCH] feat: Initial commit --- .gitignore | 1 + axiosPatchSchedule.json | 11 +++++++++++ bitnamiSchedule.json | 22 ++++++++++++++++++++++ default.json | 25 +++++++++++++++++++++++++ fullVersion.json | 4 ++++ githubActions.json | 9 +++++++++ golang.json | 14 ++++++++++++++ labels.json | 8 ++++++++ nodeDevDependencies.json | 11 +++++++++++ nodeDockerLts.json | 19 +++++++++++++++++++ php.json | 10 ++++++++++ prettierGroup.json | 11 +++++++++++ yamlComment.json | 11 +++++++++++ 13 files changed, 156 insertions(+) create mode 100644 .gitignore create mode 100644 axiosPatchSchedule.json create mode 100644 bitnamiSchedule.json create mode 100644 default.json create mode 100644 fullVersion.json create mode 100644 githubActions.json create mode 100644 golang.json create mode 100644 labels.json create mode 100644 nodeDevDependencies.json create mode 100644 nodeDockerLts.json create mode 100644 php.json create mode 100644 prettierGroup.json create mode 100644 yamlComment.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9f11b75 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea/ diff --git a/axiosPatchSchedule.json b/axiosPatchSchedule.json new file mode 100644 index 0000000..389b0d9 --- /dev/null +++ b/axiosPatchSchedule.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "packageRules": [ + { + "matchManagers": ["npm"], + "matchPackageNames": ["axios"], + "matchUpdateTypes": ["patch"], + "extends": ["schedule:monthly"] + } + ] +} diff --git a/bitnamiSchedule.json b/bitnamiSchedule.json new file mode 100644 index 0000000..b03f211 --- /dev/null +++ b/bitnamiSchedule.json @@ -0,0 +1,22 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "packageRules": [ + { + "matchDatasources": ["helm"], + "matchPackageNames": [ + "postgresql", + "redis", + "mongodb", + "mariadb" + ], + "matchUpdateTypes": ["minor", "patch"], + "extends": ["schedule:quarterly"] + }, + { + "matchDatasources": ["docker"], + "matchSourceUrls": ["https://github.com/bitnami/charts"], + "matchUpdateTypes": ["minor", "patch"], + "extends": ["schedule:quarterly"] + } + ] +} diff --git a/default.json b/default.json new file mode 100644 index 0000000..0ca62a4 --- /dev/null +++ b/default.json @@ -0,0 +1,25 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended", + ":disableRateLimiting", + ":automergePr", + ":enablePreCommit", + ":semanticCommits", + ":maintainLockFilesMonthly", + "github>clevyr/renovate-config-public:nodeDockerLts", + "github>clevyr/renovate-config-public:nodeDevDependencies", + "github>clevyr/renovate-config-public:githubActions", + "github>clevyr/renovate-config-public:labels", + "github>clevyr/renovate-config-public:axiosPatchSchedule", + "github>clevyr/renovate-config-public:bitnamiSchedule", + "github>clevyr/renovate-config-public:php", + "github>clevyr/renovate-config-public:prettierGroup" + ], + "platformAutomerge": true, + "reviewersFromCodeOwners": true, + "transitiveRemediation": true, + "git-submodules": { + "enabled": true + } +} diff --git a/fullVersion.json b/fullVersion.json new file mode 100644 index 0000000..4f89a70 --- /dev/null +++ b/fullVersion.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "commitMessageExtra": "to {{#if isPinDigest}}{{{newDigestShort}}}{{else}}{{#if isSingleVersion}}{{prettyNewVersion}}{{else}}{{#if newValue}}{{{newValue}}}{{else}}{{{newDigestShort}}}{{/if}}{{/if}}{{/if}}" +} diff --git a/githubActions.json b/githubActions.json new file mode 100644 index 0000000..54e04e8 --- /dev/null +++ b/githubActions.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "packageRules": [ + { + "matchManagers": ["github-actions"], + "automerge": true + } + ] +} diff --git a/golang.json b/golang.json new file mode 100644 index 0000000..86687b5 --- /dev/null +++ b/golang.json @@ -0,0 +1,14 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "postUpdateOptions": [ + "gomodTidy", + "gomodUpdateImportPaths" + ], + "packageRules": [ + { + "matchDatasources": ["golang-version"], + "rangeStrategy": "bump", + "commitMessageTopic": "{{depName}}" + } + ] +} diff --git a/labels.json b/labels.json new file mode 100644 index 0000000..7908ff2 --- /dev/null +++ b/labels.json @@ -0,0 +1,8 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "labels": [ + "dependencies", + "{{datasource}}", + "{{updateType}}" + ] +} diff --git a/nodeDevDependencies.json b/nodeDevDependencies.json new file mode 100644 index 0000000..d62f4b7 --- /dev/null +++ b/nodeDevDependencies.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "packageRules": [ + { + "matchManagers": ["npm"], + "matchDepTypes": ["devDependencies"], + "matchPackagePatterns": ["lint", "prettier", "test", "vitest", "cypress"], + "automerge": true + } + ] +} diff --git a/nodeDockerLts.json b/nodeDockerLts.json new file mode 100644 index 0000000..178d85f --- /dev/null +++ b/nodeDockerLts.json @@ -0,0 +1,19 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "regexManagers": [ + { + "fileMatch": ["Dockerfile", "docker-compose.ya?ml"], + "matchStrings": ["node:(?.+)-alpine"], + "depNameTemplate": "node", + "datasourceTemplate": "node", + "versioningTemplate": "node" + } + ], + "packageRules": [ + { + "matchManagers": ["dockerfile", "docker-compose"], + "matchPackageNames": ["node"], + "enabled": false + } + ] +} diff --git a/php.json b/php.json new file mode 100644 index 0000000..366291c --- /dev/null +++ b/php.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "packageRules": [ + { + "matchDatasources": ["docker", "packagist"], + "matchPackageNames": ["spiral/roadrunner", "ghcr.io/roadrunner-server/roadrunner"], + "groupName": "RoadRunner" + } + ] +} diff --git a/prettierGroup.json b/prettierGroup.json new file mode 100644 index 0000000..08c88c8 --- /dev/null +++ b/prettierGroup.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "packageRules": [ + { + "matchDatasources": ["npm"], + "matchPackageNames": ["prettier", "eslint-plugin-prettier", "@vue/eslint-config-prettier"], + "matchUpdateTypes": ["major"], + "groupName": "Prettier" + } + ] +} diff --git a/yamlComment.json b/yamlComment.json new file mode 100644 index 0000000..fc58533 --- /dev/null +++ b/yamlComment.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "regexManagers": [ + { + "fileMatch": ["\\.yaml$"], + "matchStrings": [ + "# ?renovate datasource=(?.+?) depName=(?.+)\\n.+: [\"']?(?.+?)[\"']?\\n" + ] + } + ] +}