Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 39 additions & 5 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,49 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended", ":dependencyDashboard", ":semanticCommits"],
"extends": ["config:recommended", ":semanticCommits"],
"labels": ["dependencies"],
"timezone": "Europe/Madrid",
"rangeStrategy": "bump",
"semanticCommitType": "chore",
"semanticCommitScope": "deps",
"branchPrefix": "",
"branchPrefixOld": "renovate/",
"platformAutomerge": true,
"commitMessageAction": "⬆️ update",
"packageRules": [
{
"groupName": "non-major dependencies",
"matchUpdateTypes": ["minor", "patch"]
"description": "Runtime deps: patch/minor grouped, automerge, release patch",
"groupName": "non-major runtime dependencies",
"matchDepTypes": ["dependencies", "optionalDependencies"],
"matchUpdateTypes": ["minor", "patch"],
"semanticCommitType": "fix",
"semanticCommitScope": "deps",
"additionalBranchPrefix": "fix/",
"automerge": true,
Comment on lines +17 to +20

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Align runtime Renovate branches with release workflow

For runtime dependency updates, this rule makes Renovate create fix(deps) PR titles/commits and automerge them, but it does not change the Renovate branch name. Renovate documents branchName as branchPrefix + ... with default branchPrefix of renovate/, while semanticCommitType only changes commit/PR title prefixes; the inspected .github/workflows/ci.yml publish job only runs for merged PRs whose head.ref is fix, fix/*, feat/*, or break/* (lines 62-77). As a result, an automerged runtime dependency PR from renovate/... will not publish the patch release promised by this rule.

Useful? React with 👍 / 👎.

"automergeType": "pr"
},
{
"description": "Dev deps: patch/minor grouped, automerge, no release",
"groupName": "non-major dev dependencies",
"matchDepTypes": ["devDependencies"],
"matchUpdateTypes": ["minor", "patch"],
"semanticCommitType": "chore",
"semanticCommitScope": "deps",
"additionalBranchPrefix": "chore/",
"automerge": true,
"automergeType": "pr"
},
{
"description": "Peer deps: manual review",
"matchDepTypes": ["peerDependencies"],
"semanticCommitType": "fix",
"semanticCommitScope": "peer-deps",
"additionalBranchPrefix": "fix/",
"automerge": false
},
{
"description": "Major updates: manual review",
"matchUpdateTypes": ["major"],
"additionalBranchPrefix": "break/",
"automerge": false
}
]
}
Loading