commit db99878f278bf208ca25cfe44bb6ef47c794b402 Author: Ismo Vuorinen Date: Tue Jul 23 03:24:18 2024 +0300 Initial commit diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..91da6ef --- /dev/null +++ b/.editorconfig @@ -0,0 +1,11 @@ +# EditorConfig is awesome: https://editorconfig.org + +root = true + +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +indent_style = space +indent_size = 2 + diff --git a/default.json b/default.json new file mode 100644 index 0000000..c2b1f70 --- /dev/null +++ b/default.json @@ -0,0 +1,424 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "description": "Renovate config for projects ivuorinen manages", + "extends": [ + "config:recommended", + ":enableVulnerabilityAlerts", + ":labels(dependencies)", + ":maintainLockFilesWeekly", + ":preserveSemverRanges", + ":semanticCommits", + ":timezone(Europe/Helsinki)", + "docker:enableMajor", + "group:recommended", + "npm:unpublishSafe", + "replacements:all", + "schedule:nonOfficeHours", + "workarounds:all" + ], + "digest": { + "enabled": false + }, + "assigneesFromCodeOwners": true, + "configMigration": true, + "dependencyDashboardTitle": "Renovate Dashboard 🤖", + "ignorePaths": [ + "**/*.sops.*", + "**/.archive/**" + ], + "separateMajorMinor": true, + "separateMinorPatch": false, + "separateMultipleMajor": true, + "suppressNotifications": [ + "prEditedNotification", + "prIgnoreNotification" + ], + "vulnerabilityAlerts": { + "enabled": true + }, + "commitMessageTopic": "{{depName}}", + "commitMessageExtra": "to {{newVersion}}", + "commitMessageSuffix": "", + "commitBody": "Signed-off-by: {{{gitAuthor}}}", + "dependencyDashboardLabels": [ + "no-stale" + ], + "lockFileMaintenance": { + "extends": [ + "group:all" + ], + "commitMessageAction": "Update" + }, + "packageRules": [ + { + "matchDatasources": [ + "docker" + ], + "matchUpdateTypes": [ + "major" + ], + "commitMessagePrefix": "feat(container)!: ", + "commitMessageTopic": "{{depName}}", + "commitMessageExtra": " ( {{currentVersion}} → {{newVersion}} )" + }, + { + "matchDatasources": [ + "docker" + ], + "matchUpdateTypes": [ + "minor" + ], + "semanticCommitType": "feat", + "semanticCommitScope": "container", + "commitMessageTopic": "{{depName}}", + "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" + }, + { + "matchDatasources": [ + "docker" + ], + "matchUpdateTypes": [ + "patch" + ], + "semanticCommitType": "fix", + "semanticCommitScope": "container", + "commitMessageTopic": "{{depName}}", + "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" + }, + { + "matchDatasources": [ + "docker" + ], + "matchUpdateTypes": [ + "digest" + ], + "semanticCommitType": "chore", + "semanticCommitScope": "container", + "commitMessageTopic": "{{depName}}", + "commitMessageExtra": "( {{currentDigestShort}} → {{newDigestShort}} )" + }, + { + "matchDatasources": [ + "helm" + ], + "matchUpdateTypes": [ + "major" + ], + "commitMessagePrefix": "feat(helm)!: ", + "commitMessageTopic": "{{depName}}", + "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" + }, + { + "matchDatasources": [ + "helm" + ], + "matchUpdateTypes": [ + "minor" + ], + "semanticCommitType": "feat", + "semanticCommitScope": "helm", + "commitMessageTopic": "{{depName}}", + "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" + }, + { + "matchDatasources": [ + "helm" + ], + "matchUpdateTypes": [ + "patch" + ], + "semanticCommitType": "fix", + "semanticCommitScope": "helm", + "commitMessageTopic": "{{depName}}", + "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" + }, + { + "matchDatasources": [ + "galaxy", + "galaxy-collection" + ], + "matchUpdateTypes": [ + "major" + ], + "commitMessagePrefix": "feat(ansible)!: ", + "commitMessageTopic": "{{depName}}", + "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" + }, + { + "matchDatasources": [ + "galaxy", + "galaxy-collection" + ], + "matchUpdateTypes": [ + "minor" + ], + "semanticCommitType": "feat", + "semanticCommitScope": "ansible", + "commitMessageTopic": "{{depName}}", + "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" + }, + { + "matchDatasources": [ + "galaxy", + "galaxy-collection" + ], + "matchUpdateTypes": [ + "patch" + ], + "semanticCommitType": "fix", + "semanticCommitScope": "ansible", + "commitMessageTopic": "{{depName}}", + "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" + }, + { + "matchDatasources": [ + "terraform-provider" + ], + "matchUpdateTypes": [ + "major" + ], + "commitMessagePrefix": "feat(terraform)!: ", + "commitMessageTopic": "{{depName}}", + "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" + }, + { + "matchDatasources": [ + "terraform-provider" + ], + "matchUpdateTypes": [ + "minor" + ], + "semanticCommitType": "feat", + "semanticCommitScope": "terraform", + "commitMessageTopic": "{{depName}}", + "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" + }, + { + "matchDatasources": [ + "terraform-provider" + ], + "matchUpdateTypes": [ + "patch" + ], + "semanticCommitType": "fix", + "semanticCommitScope": "terraform", + "commitMessageTopic": "{{depName}}", + "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" + }, + { + "matchDatasources": [ + "github-releases", + "github-tags" + ], + "matchUpdateTypes": [ + "major" + ], + "commitMessagePrefix": "feat(github-release)!: ", + "commitMessageTopic": "{{depName}}", + "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" + }, + { + "matchDatasources": [ + "github-releases", + "github-tags" + ], + "matchUpdateTypes": [ + "minor" + ], + "semanticCommitType": "feat", + "semanticCommitScope": "github-release", + "commitMessageTopic": "{{depName}}", + "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" + }, + { + "matchDatasources": [ + "github-releases", + "github-tags" + ], + "matchUpdateTypes": [ + "patch" + ], + "semanticCommitType": "fix", + "semanticCommitScope": "github-release", + "commitMessageTopic": "{{depName}}", + "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" + }, + { + "matchManagers": [ + "github-actions" + ], + "matchUpdateTypes": [ + "major" + ], + "commitMessagePrefix": "feat(github-action)!: ", + "commitMessageTopic": "{{depName}}", + "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" + }, + { + "matchManagers": [ + "github-actions" + ], + "matchUpdateTypes": [ + "minor" + ], + "semanticCommitType": "feat", + "semanticCommitScope": "github-action", + "commitMessageTopic": "{{depName}}", + "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" + }, + { + "matchManagers": [ + "github-actions" + ], + "matchUpdateTypes": [ + "patch" + ], + "semanticCommitType": "fix", + "semanticCommitScope": "github-action", + "commitMessageTopic": "{{depName}}", + "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" + }, + { + "description": [ + "Auto-merge container digests updates for trusted containers" + ], + "matchDatasources": [ + "docker" + ], + "automerge": true, + "automergeType": "branch", + "matchUpdateTypes": [ + "digest" + ], + "matchPackagePatterns": [ + "ghcr.io/bjw-s", + "ghcr.io/onedr0p" + ] + }, + { + "description": [ + "Auto-merge GitHub Actions for minor and patch" + ], + "matchManagers": [ + "github-actions" + ], + "matchDatasources": [ + "github-tags" + ], + "automerge": true, + "automergeType": "branch", + "matchUpdateTypes": [ + "minor", + "patch" + ] + }, + { + "matchDatasources": [ + "helm" + ], + "commitMessageTopic": "chart {{depName}}" + }, + { + "matchDatasources": [ + "docker" + ], + "commitMessageTopic": "image {{depName}}" + }, + { + "matchUpdateTypes": [ + "major" + ], + "labels": [ + "type/major" + ] + }, + { + "matchUpdateTypes": [ + "minor" + ], + "labels": [ + "type/minor" + ] + }, + { + "matchUpdateTypes": [ + "patch" + ], + "labels": [ + "type/patch" + ] + }, + { + "matchUpdateTypes": [ + "digest" + ], + "labels": [ + "type/digest" + ] + }, + { + "matchDatasources": [ + "docker" + ], + "addLabels": [ + "renovate/container" + ] + }, + { + "matchDatasources": [ + "helm" + ], + "addLabels": [ + "renovate/helm" + ] + }, + { + "matchDatasources": [ + "galaxy", + "galaxy-collection" + ], + "addLabels": [ + "renovate/ansible" + ] + }, + { + "matchDatasources": [ + "terraform-provider" + ], + "addLabels": [ + "renovate/terraform" + ] + }, + { + "matchDatasources": [ + "github-releases", + "github-tags" + ], + "addLabels": [ + "renovate/github-release" + ] + }, + { + "matchManagers": [ + "github-actions" + ], + "addLabels": [ + "renovate/github-action" + ] + }, + { + "matchDatasources": [ + "pypi" + ], + "addLabels": [ + "renovate/pip" + ] + }, + { + "matchPackagePatterns": [ + "eslint" + ], + "groupName": "eslint" + } + ] +}