|
| 1 | +{ |
| 2 | + "$schema": "https://docs.renovatebot.com/renovate-schema.json", |
| 3 | + "extends": [ |
| 4 | + "config:recommended", |
| 5 | + "helpers:pinGitHubActionDigestsToSemver", |
| 6 | + ":semanticCommitTypeAll(chore)", |
| 7 | + ":dependencyDashboard" |
| 8 | + ], |
| 9 | + "configMigration": true, |
| 10 | + "customManagers": [ |
| 11 | + { |
| 12 | + "customType": "regex", |
| 13 | + "managerFilePatterns": ["/(^|/)Taskfile[^/]*\\.yml$/"], |
| 14 | + "matchStrings": [ |
| 15 | + "(?m)^\\s*#\\s*renovate:\\s*datasource=(?<datasource>\\S+)\\s+depName=(?<depName>\\S+)(?:\\s+versioning=(?<versioning>\\S+))?(?:\\s+registryUrl=(?<registryUrl>\\S+))?\\s*\\r?\\n\\s*(?<varName>[A-Z0-9_]+)_VERSION:\\s+\"?(?<currentValue>[^\"@\\s]+)\"?\\s*$" |
| 16 | + ], |
| 17 | + "currentValueTemplate": "{{currentValue}}", |
| 18 | + "description": [ |
| 19 | + "Custom dependency manager for updating tool version defined in Taskfile." |
| 20 | + ] |
| 21 | + }, |
| 22 | + { |
| 23 | + "customType": "regex", |
| 24 | + "managerFilePatterns": ["/(^|/)Taskfile[^/]*\\.yml$/"], |
| 25 | + "matchStrings": [ |
| 26 | + "(?m)^\\s*#\\s*renovate:\\s*datasource=(?<datasource>\\S+)\\s+depName=(?<depName>\\S+)(?:\\s+versioning=(?<versioning>\\S+))?(?:\\s+registryUrl=(?<registryUrl>\\S+))?\\s*\\r?\\n\\s*(?<varName>[A-Z0-9_]+)_VERSION:\\s+\"?(?:(?<currentValue>[^@\"\\s]+)@)?(?<currentDigest>sha256:[a-f0-9]+)\"?\\s*$" |
| 27 | + ], |
| 28 | + "currentValueTemplate": "{{currentValue}}", |
| 29 | + "description": [ |
| 30 | + "Custom dependency manager for updating image tag@digest defined in Taskfile." |
| 31 | + ] |
| 32 | + } |
| 33 | + ], |
| 34 | + "dependencyDashboardAutoclose": true, |
| 35 | + "dependencyDashboardLabels": ["dependencies"], |
| 36 | + "dependencyDashboardOSVVulnerabilitySummary": "all", |
| 37 | + "enabled": true, |
| 38 | + "minimumReleaseAge": "3 days", |
| 39 | + "schedule": ["before 6am on Monday"], |
| 40 | + "enabledManagers": [ |
| 41 | + "custom.regex", |
| 42 | + "github-actions", |
| 43 | + "pyenv", |
| 44 | + "pip_setup", |
| 45 | + "pip_requirements", |
| 46 | + "pep621" |
| 47 | + ], |
| 48 | + "labels": ["dependencies"], |
| 49 | + "ignoreDeps": [], |
| 50 | + "osvVulnerabilityAlerts": true, |
| 51 | + "lockFileMaintenance": { |
| 52 | + "enabled": true |
| 53 | + }, |
| 54 | + "packageRules": [ |
| 55 | + { |
| 56 | + "matchUpdateTypes": ["major"], |
| 57 | + "enabled": false, |
| 58 | + "description": ["Ignore major dependency updates."] |
| 59 | + }, |
| 60 | + { |
| 61 | + "groupName": "Python", |
| 62 | + "groupSlug": "python", |
| 63 | + "matchCategories": ["python"], |
| 64 | + "addLabels": ["python"], |
| 65 | + "description": [ |
| 66 | + "Add python label to PRs which bumps python dependencies.", |
| 67 | + "Group Python dependency updates in single PR." |
| 68 | + ] |
| 69 | + }, |
| 70 | + { |
| 71 | + "groupName": "Taskfile", |
| 72 | + "groupSlug": "taskfile", |
| 73 | + "matchFileNames": ["Taskfile.*"], |
| 74 | + "addLabels": ["build"], |
| 75 | + "description": [ |
| 76 | + "Add build label to PRs which are related to build tools defined in Taskfile.", |
| 77 | + "Group Taskfile dependency updates in single PR." |
| 78 | + ] |
| 79 | + }, |
| 80 | + { |
| 81 | + "groupName": "Github Actions", |
| 82 | + "groupSlug": "github-actions", |
| 83 | + "matchDatasources": ["github-tags"], |
| 84 | + "addLabels": ["ci"], |
| 85 | + "description": [ |
| 86 | + "Add ci label to PRs which are related to Github Actions.", |
| 87 | + "Group CI dependency updates in single PR." |
| 88 | + ] |
| 89 | + }, |
| 90 | + { |
| 91 | + "matchJsonata": [ |
| 92 | + "$exists(vulnerabilityFixVersion) or isVulnerabilityAlert = true" |
| 93 | + ], |
| 94 | + "enabled": true, |
| 95 | + "description": [ |
| 96 | + "Always allow vulnerability/security fixes, even when other rules disable majors or specific dependencies." |
| 97 | + ] |
| 98 | + } |
| 99 | + ], |
| 100 | + "postUpdateOptions": [], |
| 101 | + "prConcurrentLimit": 20, |
| 102 | + "prHourlyLimit": 10, |
| 103 | + "printConfig": false, |
| 104 | + "rebaseWhen": "behind-base-branch", |
| 105 | + "reviewersFromCodeOwners": true, |
| 106 | + "semanticCommits": "enabled", |
| 107 | + "timezone": "Etc/UTC", |
| 108 | + "vulnerabilityAlerts": { |
| 109 | + "enabled": true, |
| 110 | + "labels": ["security"], |
| 111 | + "minimumReleaseAge": null, |
| 112 | + "schedule": ["at any time"] |
| 113 | + } |
| 114 | +} |
0 commit comments