Skip to content

Commit a8364fc

Browse files
authored
ci: add renovate configuration for dependency updates (#324)
1 parent bc32ed5 commit a8364fc

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/renovate.json5

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
3+
extends: [
4+
'config:recommended',
5+
'schedule:weekly',
6+
'helpers:pinGitHubActionDigests',
7+
],
8+
ignorePaths: ['**/tests/**', '**/node_modules/**', '**/typescript-go/**'],
9+
packageRules: [
10+
// Use chore as semantic commit type for commit messages
11+
{
12+
semanticCommitType: 'chore',
13+
// always bump package.json
14+
rangeStrategy: 'bump',
15+
matchPackageNames: ['*'],
16+
},
17+
{
18+
groupName: 'all patch dependencies',
19+
groupSlug: 'all-patch',
20+
matchUpdateTypes: ['patch'],
21+
matchPackageNames: ['*'],
22+
},
23+
// manually update peer dependencies
24+
{
25+
matchDepTypes: ['peerDependencies'],
26+
enabled: false,
27+
},
28+
],
29+
}

0 commit comments

Comments
 (0)