From 38ea1ca121c62d175aae3991fc8f3b939c31374b Mon Sep 17 00:00:00 2001 From: Hasko Date: Mon, 29 Jun 2026 12:31:14 +0200 Subject: [PATCH 1/2] =?UTF-8?q?chore(deps):=20=F0=9F=94=A7=20Update=20Reno?= =?UTF-8?q?vate=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- renovate.json | 38 +++++++++++++++++++++++++++++++++----- 1 file changed, 33 insertions(+), 5 deletions(-) diff --git a/renovate.json b/renovate.json index e2dca33..c467ccb 100644 --- a/renovate.json +++ b/renovate.json @@ -1,15 +1,43 @@ { "$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", + "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", + "automerge": true, + "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", + "automerge": true, + "automergeType": "pr" + }, + { + "description": "Peer deps: manual review", + "matchDepTypes": ["peerDependencies"], + "semanticCommitType": "fix", + "semanticCommitScope": "peer-deps", + "automerge": false + }, + { + "description": "Major updates: manual review", + "matchUpdateTypes": ["major"], + "automerge": false } ] } From ec2273f139e4a5d0f4f9b90972afa9bce413d417 Mon Sep 17 00:00:00 2001 From: Hasko Date: Mon, 29 Jun 2026 12:41:45 +0200 Subject: [PATCH 2/2] =?UTF-8?q?chore(ci):=20=F0=9F=94=A7=20Support=20Renov?= =?UTF-8?q?ate=20release=20branches?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 15 ++++++++++++++- README.md | 3 +++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e9c580..89a081d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,7 +87,11 @@ jobs: github.event.pull_request.head.ref == 'fix' || startsWith(github.event.pull_request.head.ref, 'fix/') || github.event.pull_request.head.ref == 'break' || - startsWith(github.event.pull_request.head.ref, 'break/') + startsWith(github.event.pull_request.head.ref, 'break/') || + ( + startsWith(github.event.pull_request.head.ref, 'renovate/') && + startsWith(github.event.pull_request.title, 'fix(') + ) ) steps: @@ -135,6 +139,14 @@ jobs: break|break/*) bump="major" ;; + renovate/*) + if [[ "${PR_TITLE}" == fix\(* ]]; then + bump="patch" + else + echo "Unsupported Renovate release title: ${PR_TITLE}" + exit 1 + fi + ;; *) echo "Unsupported release branch: $branch_name" exit 1 @@ -229,6 +241,7 @@ jobs: env: HEAD_BRANCH: ${{ github.event.pull_request.head.ref }} PR_NUMBER: ${{ github.event.pull_request.number }} + PR_TITLE: ${{ github.event.pull_request.title }} - name: Publish package if: >- diff --git a/README.md b/README.md index 4f5c631..bae1c39 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,9 @@ according to the source branch prefix: | `feat/*` | Minor | | `break/*` | Major | +Renovate runtime dependency PRs use `renovate/*` branches. They publish a patch +release only when the PR title starts with `fix(`. + Other branch names run validation only and do not publish. ## License