|
| 1 | +{ |
| 2 | + "$schema": "https://docs.renovatebot.com/renovate-schema.json", |
| 3 | + "extends": [ |
| 4 | + "config:best-practices", |
| 5 | + ":semanticCommits", |
| 6 | + ":semanticCommitScopeDisabled" |
| 7 | + ], |
| 8 | + "labels": ["renovate", "bot"], |
| 9 | + "schedule": ["at any time"], |
| 10 | + "prHourlyLimit": 0, |
| 11 | + "prConcurrentLimit": 0, |
| 12 | + "dependencyDashboardTitle": "Renovate Dependency Dashboard", |
| 13 | + "dependencyDashboardLabels": ["renovate", "bot"], |
| 14 | + "dependencyDashboardOSVVulnerabilitySummary": "all", |
| 15 | + "osvVulnerabilityAlerts": true, |
| 16 | + "vulnerabilityAlerts": { |
| 17 | + "addLabels": ["dependency", "security"], |
| 18 | + "groupName": null, |
| 19 | + "schedule": ["at any time"], |
| 20 | + "dependencyDashboardApproval": false, |
| 21 | + "minimumReleaseAge": null, |
| 22 | + "rangeStrategy": "pin", |
| 23 | + "prCreation": "immediate", |
| 24 | + "vulnerabilityFixStrategy": "lowest", |
| 25 | + "additionalBranchPrefix": "security/", |
| 26 | + "branchTopic": "{{{datasource}}}-{{{depNameSanitized}}}", |
| 27 | + "commitMessageSuffix": "due to security vulnerability", |
| 28 | + "commitBody": "Resolve security vulnerability with {{{vulnerabilitySeverity}}} severity level", |
| 29 | + "packageRules": [ |
| 30 | + { |
| 31 | + "matchDepTypes": ["dependencies"], |
| 32 | + "semanticCommitType": "fix" |
| 33 | + } |
| 34 | + ] |
| 35 | + }, |
| 36 | + "pin": { |
| 37 | + "extends": ["mergeConfidence:all-badges", "security:openssf-scorecard"], |
| 38 | + "rebaseWhen": "behind-base-branch", |
| 39 | + "groupName": "", |
| 40 | + "groupSlug": null, |
| 41 | + "group": {}, |
| 42 | + "commitMessageAction": "pin", |
| 43 | + "prBodyDefinitions": { |
| 44 | + "Change": "`{{#if currentDigestShort}}{{{currentDigestShort}}}{{else}}{{{currentValue}}}{{/if}}` -> `{{#if newDigestShort}}{{{newDigestShort}}}{{else}}{{{newValue}}}{{/if}}`" |
| 45 | + } |
| 46 | + }, |
| 47 | + "pinDigest": { |
| 48 | + "extends": ["mergeConfidence:all-badges", "security:openssf-scorecard"], |
| 49 | + "rebaseWhen": "behind-base-branch", |
| 50 | + "groupName": "", |
| 51 | + "groupSlug": "", |
| 52 | + "group": {}, |
| 53 | + "commitMessageAction": "pin", |
| 54 | + "prBodyDefinitions": { |
| 55 | + "Change": "`{{#if currentDigestShort}}{{{currentDigestShort}}}{{else}}{{{currentValue}}}{{/if}}` -> `{{#if newDigestShort}}{{{newDigestShort}}}{{else}}{{{newValue}}}{{/if}}`" |
| 56 | + } |
| 57 | + }, |
| 58 | + "packageRules": [ |
| 59 | + { |
| 60 | + "rebaseWhen": "behind-base-branch", |
| 61 | + "matchFileNames": ["**/bun.lock?(b)", "**/package.json"], |
| 62 | + "additionalBranchPrefix": "{{{datasource}}}/", |
| 63 | + "addLabels": ["dependency"], |
| 64 | + "semanticCommitType": "build", |
| 65 | + "commitMessageExtra": "from {{#if currentDigestShort}}{{{currentDigestShort}}}{{else}}{{{currentValue}}}{{/if}} to {{#if newDigestShort}}{{{newDigestShort}}}{{else}}{{{newValue}}}{{/if}}" |
| 66 | + }, |
| 67 | + { |
| 68 | + "matchDepTypes": ["dependencies"], |
| 69 | + "commitMessageTopic": "dependency {{{depName}}}" |
| 70 | + }, |
| 71 | + { |
| 72 | + "matchDepTypes": ["devDependencies"], |
| 73 | + "commitMessageTopic": "dev-dependency {{{depName}}}" |
| 74 | + }, |
| 75 | + { |
| 76 | + "matchDepTypes": ["peerDependencies"], |
| 77 | + "commitMessageTopic": "peer-dependency {{{depName}}}" |
| 78 | + }, |
| 79 | + { |
| 80 | + "rebaseWhen": "behind-base-branch", |
| 81 | + "matchFileNames": [ |
| 82 | + "**/{workflow-templates,.github,.gitea,.forgejo}/{workflows,actions}/*.yaml", |
| 83 | + "**/action.yaml" |
| 84 | + ], |
| 85 | + "pinDigests": true, |
| 86 | + "additionalBranchPrefix": "{{{datasource}}}/", |
| 87 | + "addLabels": ["dependency", "workflow"], |
| 88 | + "semanticCommitType": "ci", |
| 89 | + "commitMessageTopic": "{{{depType}}} {{{depName}}}", |
| 90 | + "commitMessageExtra": "from {{#if currentDigestShort}}{{{currentDigestShort}}}{{else}}{{{currentValue}}}{{/if}} to {{#if newDigestShort}}{{{newDigestShort}}}{{else}}{{{newValue}}}{{/if}}" |
| 91 | + }, |
| 92 | + { |
| 93 | + "matchFileNames": ["**/*"], |
| 94 | + "prBodyDefinitions": { |
| 95 | + "OpenSSF": "[](https://securityscorecards.dev/viewer/?uri=github.com/{{sourceRepo}})" |
| 96 | + }, |
| 97 | + "matchUpdateTypes": ["patch", "minor", "major"], |
| 98 | + "prBodyColumns": [ |
| 99 | + "Package", |
| 100 | + "Change", |
| 101 | + "Age", |
| 102 | + "Adoption", |
| 103 | + "Passing", |
| 104 | + "Confidence", |
| 105 | + "OpenSSF" |
| 106 | + ] |
| 107 | + } |
| 108 | + ] |
| 109 | +} |
0 commit comments