| 1 | { |
| 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", |
| 3 | "extends": ["config:best-practices", ":semanticCommits"], |
| 4 | "postUpdateOptions": ["gomodTidy"], |
| 5 | "packageRules": [ |
| 6 | { |
| 7 | "description": "Handle Go version updates", |
| 8 | "matchManagers": ["gomod"], |
| 9 | "matchDepNames": ["go"], |
| 10 | "matchDepTypes": ["golang"], |
| 11 | "matchUpdateTypes": ["major", "minor"], |
| 12 | "semanticCommitType": "chore" |
| 13 | }, |
| 14 | { |
| 15 | "matchManagers": ["gomod"], |
| 16 | "matchDepTypes": ["indirect"], |
| 17 | "semanticCommitType": "chore", |
| 18 | "enabled": true |
| 19 | }, |
| 20 | { |
| 21 | "description": "Handle Go toolchain updates", |
| 22 | "matchManagers": ["gomod"], |
| 23 | "matchDepNames": ["toolchain"], |
| 24 | "rangeStrategy": "pin", |
| 25 | "semanticCommitType": "chore" |
| 26 | }, |
| 27 | { |
| 28 | "description": "Automerge non-major updates", |
| 29 | "matchUpdateTypes": ["minor", "patch", "digest"], |
| 30 | "automerge": true |
| 31 | } |
| 32 | ], |
| 33 | "vulnerabilityAlerts": { |
| 34 | "enabled": true |
| 35 | } |
| 36 | } |