From 500989f30dfe5971a5bb7f2d31c4dc2b7a5d1c93 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 4 Nov 2026 08:16:42 +0000 Subject: [PATCH] Renovate: take Bun's packageManager into the Bun group Renovate's bun manager already reads "packageManager": "bun@x.y.z" in package.json as the npm package `bun`. The Bun group only matched oven/bun and oven-sh/bun (an extra regex manager that read the same line a second time), so the `bun` update went to the monthly auto-merged renovate/minor-patch PR while oven/bun went to renovate/bun: the image and CI's Bun could drift apart, and the line was edited twice. Drop the regex manager and match `bun` in the Bun group, as in firsttris/stellwerk and firsttris/fernsicht. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Y3rdfbWb1xDUdPRng7TX9Z --- .github/renovate.json5 | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 77b09b7..0afe508 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -12,16 +12,6 @@ $schema: "https://docs.renovatebot.com/renovate-schema.json", extends: ["github>firsttris/workflows//renovate/default.json5"], customManagers: [ - { - // "packageManager": "bun@x.y.z": the Bun of every workflow (bun-version-file, and the - // npm-installed Bun of the screenshots job) - customType: "regex", - managerFilePatterns: ["/^package\\.json$/"], - matchStrings: ['"packageManager": "bun@(?\\d+\\.\\d+\\.\\d+)"'], - depNameTemplate: "oven-sh/bun", - datasourceTemplate: "github-releases", - extractVersionTemplate: "^bun-v(?.+)$", - }, { // `cargo install cargo-chef --version x.y.z` in docker/Dockerfile customType: "regex", @@ -56,8 +46,9 @@ }, { // Bun: the image's web stage (oven/bun) and packageManager in package.json in one PR, so CI - // tests the Bun the image builds with - matchPackageNames: ["docker.io/oven/bun", "oven/bun", "oven-sh/bun"], + // tests the Bun the image builds with. Renovate's bun manager reads "packageManager": + // "bun@x.y.z" itself, as the npm package `bun` (no regex manager needed). + matchPackageNames: ["docker.io/oven/bun", "oven/bun", "bun"], enabled: true, groupName: "Bun", sourceUrl: "https://github.com/oven-sh/bun",