From 7a6d521bb53ce850d16dc6ed19374f6135bd42ec Mon Sep 17 00:00:00 2001 From: Derek Lewis Date: Tue, 29 Sep 2026 00:57:02 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=EF=BC=9Atitle=20dependency=20updat?= =?UTF-8?q?es=20the=20way=20we=20do?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Renovate titled its pull requests `build(deps-dev): bump all` and `chore(deps): lock file maintenance`, in the Conventional Commits style this organization does not use. Each one lands as a commit like any other, so the history carried two formats, and the one the bot used is the one the handbook and the checks do not recognize. Its titles and commits now open with the packages category, `📦`, then `:` with no space, then what it did in lowercase: `📦:bump cspell to v10.3.3`, `📦:lock file maintenance`. The semantic prefixes go, along with the preset that set their type and the per-dependency-type prefixes; the labels those rules also set stay. The format is written as the commit message template, because a prefix gets a space after it and every kind of update sets its own action, so neither of the other options can put the emoji first on every update. The template lowercases the action, which the presets capitalize (`Lock file maintenance`, `Pin`), and leaves the package name as it is. This is the change the organization defaults repository made for itself, so all three repositories title dependency updates alike. Signed-off-by: Derek Lewis Assisted-by: Claude-Code:claude-opus-5 Refs: https://github.com/OpenINF/.github/issues/184 Refs: https://github.com/OpenINF/.github/pull/929 --- .renovaterc.json5 | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.renovaterc.json5 b/.renovaterc.json5 index f9fc927df..a68ccaae1 100644 --- a/.renovaterc.json5 +++ b/.renovaterc.json5 @@ -7,7 +7,6 @@ ":gitSignOff", ":preserveSemverRanges", "mergeConfidence:all-badges", - ":semanticCommitTypeAll(chore)", "schedule:earlyMondays", ], // `config:best-practices` pulls in `abandonments:recommended`, which calls a @@ -29,7 +28,19 @@ }, platformCommit: "enabled", rangeStrategy: "pin", - semanticCommits: "enabled", + // A dependency pull request lands as a commit like any other, so its title + // follows the organization's format: a category emoji, then `:` with no + // space after it. `commitMessagePrefix` cannot express that, because the + // default template puts a space between the prefix and the rest, and + // `commitMessageAction` cannot either, because pins, rollbacks, replacements + // and lock file maintenance each set their own. That leaves the template, + // which renovate warns is deprecated while offering nothing else that can + // put the emoji flush against the rest. The action is lowercased there + // because those same presets capitalize it ("Lock file maintenance", "Pin") + // and our subjects start lowercase; the topic keeps its case, since it is a + // package name. + semanticCommits: "disabled", + commitMessage: "📦:{{{lowercase commitMessageAction}}} {{{commitMessageTopic}}} {{{commitMessageExtra}}} {{{commitMessageSuffix}}}", commitMessageAction: "bump", commitMessageTopic: "{{depName}}", // Nothing else watches these two files. Everything installed through npm is @@ -63,12 +74,10 @@ packageRules: [ { matchDepTypes: ["dependencies"], - commitMessagePrefix: "chore(deps):", labels: ["📦 Type: Dependencies"], }, { matchDepTypes: ["devDependencies"], - commitMessagePrefix: "build(deps-dev):", labels: ["📦 Type: Developer Dependencies", "🏗️ Category: Build"], }, // `config:best-practices` already waits, through