|
| 1 | +{ |
| 2 | + $schema: "https://docs.renovatebot.com/renovate-schema.json", |
| 3 | + extends: [ |
| 4 | + "config:best-practices", |
| 5 | + ":semanticCommitTypeAll(chore)", |
| 6 | + // Update lock files: https://docs.renovatebot.com/presets-default/#maintainlockfilesmonthly |
| 7 | + ":maintainLockFilesMonthly", |
| 8 | + // Automerge all updates once they pass tests: https://docs.renovatebot.com/presets-default/#automergeall |
| 9 | + ":automergeAll", |
| 10 | + // Update _VERSION variables in GitHub Action files: https://docs.renovatebot.com/presets-customManagers/#custommanagersgithubactionsversions |
| 11 | + "customManagers:githubActionsVersions", |
| 12 | + // Pin Github Actions versions: https://docs.renovatebot.com/presets-helpers/#helperspingithubactiondigeststosemver |
| 13 | + "helpers:pinGitHubActionDigestsToSemver", |
| 14 | + ], |
| 15 | + schedule: [ |
| 16 | + // Monthly, but give a 3-day window (due to throttling not all PRs may be created on the same day): https://docs.renovatebot.com/configuration-options/#schedule |
| 17 | + "on the 2nd through 5th day of the month", |
| 18 | + ], |
| 19 | + // Always squash PRs: https://docs.renovatebot.com/configuration-options/#automergestrategy |
| 20 | + automergeStrategy: "squash", |
| 21 | + // Pin all dependencies: https://docs.renovatebot.com/dependency-pinning/ |
| 22 | + rangeStrategy: "pin", |
| 23 | + packageRules: [ |
| 24 | + { matchPackageNames: ["*"], matchManagers: ["npm"] }, |
| 25 | + { |
| 26 | + matchManagers: ["docker-compose", "dockerfile"], |
| 27 | + groupName: "docker", |
| 28 | + }, |
| 29 | + { |
| 30 | + matchManagers: ["devcontainer"], |
| 31 | + groupName: "devcontainer", |
| 32 | + }, |
| 33 | + { |
| 34 | + matchManagers: ["github-actions"], |
| 35 | + groupName: "github-actions", |
| 36 | + }, |
| 37 | + ], |
| 38 | + "github-actions": { enabled: true }, |
| 39 | + postUpdateOptions: [ |
| 40 | + // Always dedupe the lock file after updating dependencies: https://docs.renovatebot.com/configuration-options/#postupdateoptions |
| 41 | + "pnpmDedupe", |
| 42 | + ], |
| 43 | +} |
0 commit comments