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 9 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
57 changes: 57 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,57 @@
{
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
":dependencyDashboardApproval",
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
":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": "3 days",
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved

"packageRules": [
// Enable major version updates, but don't auto-merge them
{
"automerge": false,
"matchUpdateTypes": ["minor"]
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
},

// Enable minor version updates with auto-merging
{
"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": ["javascript"],
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
"matchManagers": ["npm"]
},
{
"addLabels": ["github-actions"],
JoshuaKGoldberg marked this conversation as resolved.
Show resolved Hide resolved
"matchManagers": ["github-actions"]
},

// Batch package sets together
{
"groupName": "babel",
"matchPackagePrefixes": ["@babel", "babel-"]
},
{
"groupName": "wdio",
"matchPackagePrefixes": ["@wdio"]
},
{
"groupName": "metascraper",
"matchPackagePrefixes": ["metascraper"]
}
]
}