|
| 1 | +{ |
| 2 | + $schema: 'https://docs.renovatebot.com/renovate-schema.json', |
| 3 | + extends: [ |
| 4 | + // Default config for libraries (extends "config:recommended") |
| 5 | + // https://docs.renovatebot.com/presets-config/#configjs-lib |
| 6 | + 'config:js-lib', |
| 7 | + |
| 8 | + // Pin `github-action` digests to increase security (converted to SemVer) |
| 9 | + // https://docs.renovatebot.com/presets-helpers/#helperspingithubactiondigests |
| 10 | + 'helpers:pinGitHubActionDigestsToSemver', |
| 11 | + |
| 12 | + // Update automatically if tests pass |
| 13 | + ':automergeLinters', // https://docs.renovatebot.com/presets-default/#automergelinters |
| 14 | + ':automergeTesters', // https://docs.renovatebot.com/presets-default/#automergetesters |
| 15 | + ':automergeTypes', // https://docs.renovatebot.com/presets-default/#automergetypes |
| 16 | + ':automergeRequireAllStatusChecks', // https://docs.renovatebot.com/presets-default/#automergerequireallstatuschecks |
| 17 | + |
| 18 | + // Wait until npm packages are at least 3 days old before updating |
| 19 | + // https://docs.renovatebot.com/presets-security/#securityminimumreleaseagenpm |
| 20 | + 'security:minimumReleaseAgeNpm', |
| 21 | + |
| 22 | + // Migrate deprecated config options automatically |
| 23 | + // https://docs.renovatebot.com/presets-default/#configmigration |
| 24 | + ':configMigration', |
| 25 | + ], |
| 26 | + |
| 27 | + packageRules: [ |
| 28 | + // We don't want to update pnpm too often |
| 29 | + { |
| 30 | + description: 'Get pnpm updates once a month', |
| 31 | + matchDepTypes: ['packageManager'], |
| 32 | + matchPackageNames: ['pnpm'], |
| 33 | + extends: ['schedule:monthly'], |
| 34 | + }, |
| 35 | + ], |
| 36 | +} |
0 commit comments