Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add .github/renovate.json5 #17567

Merged
merged 18 commits into from Nov 7, 2023
Merged
Changes from 14 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
52 changes: 52 additions & 0 deletions .github/renovate.json5
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
@@ -0,0 +1,52 @@
{
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
"extends": [
"config:recommended",
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
":approveMajorUpdates",
":semanticCommitScopeDisabled"
],
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
"internalChecksFilter": "strict",
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
"labels": ["dependencies"],

// Wait a few days for any new package, as a precaution against malicious publishes
"minimumReleaseAge": "7 days",

"packageRules": [
// Enable minor version updates with auto-merging
// (Major versions will need to be triggered from the dashboard issue)
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
{
"automerge": true,
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
"matchUpdateTypes": ["minor"]
},

// Ignore patch versions to reduce noise
{
"enabled": false,
"matchUpdateTypes": ["patch"]
},

// Label PRs appropriately per their manager
{
"addLabels": ["deps:npm"],
"matchManagers": ["npm"]
},
{
"addLabels": ["deps:actions"],
"matchManagers": ["github-actions"]
},

// Batch package sets together
{
"groupName": "babel",
"matchPackagePrefixes": ["@babel", "babel-"]
},
{
"groupName": "wdio",
"matchPackagePrefixes": ["@wdio"]
},
{
"groupName": "metascraper",
"matchPackagePrefixes": ["metascraper"]
}
]
}
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved