From ee7959316fdb591f7324cb5152a08268aef2c08e Mon Sep 17 00:00:00 2001 From: Gregor Zeitlinger Date: Mon, 13 Apr 2026 17:04:40 +0200 Subject: [PATCH 1/2] fix(release): suppress component prefix in release-please tags Add include-component-in-tag: false so release-please creates v0.x.x tags instead of flint-v0.x.x, matching the release workflow trigger. --- .github/config/release-please-config.json | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/config/release-please-config.json b/.github/config/release-please-config.json index 9fc35461..3e5daa5c 100644 --- a/.github/config/release-please-config.json +++ b/.github/config/release-please-config.json @@ -1,10 +1,11 @@ { - "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", - "release-type": "rust", - "pull-request-footer": "> [!IMPORTANT]\n> Close and reopen this PR to trigger CI checks.", - "packages": { - ".": { - "changelog-path": "CHANGELOG.md" - } - } + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "release-type": "rust", + "include-component-in-tag": false, + "pull-request-footer": "> [!IMPORTANT]\n> Close and reopen this PR to trigger CI checks.", + "packages": { + ".": { + "changelog-path": "CHANGELOG.md" + } + } } From 839d7984afe98f430b34070a0cb92a7e76b45e41 Mon Sep 17 00:00:00 2001 From: Gregor Zeitlinger Date: Mon, 13 Apr 2026 15:52:03 +0000 Subject: [PATCH 2/2] style: configure biome to use spaces, reformat JSON files Set indentStyle=space/indentWidth=2 in biome.json and reformat all tab-indented JSON files to match. Signed-off-by: Gregor Zeitlinger --- .github/config/.release-please-manifest.json | 2 +- .markdownlint.json | 2 +- biome.json | 20 ++-- default.json | 120 +++++++++---------- 4 files changed, 74 insertions(+), 70 deletions(-) diff --git a/.github/config/.release-please-manifest.json b/.github/config/.release-please-manifest.json index 2a932b72..71e95baf 100644 --- a/.github/config/.release-please-manifest.json +++ b/.github/config/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.20.0" + ".": "0.20.0" } diff --git a/.markdownlint.json b/.markdownlint.json index 87e137e4..67d2ae55 100644 --- a/.markdownlint.json +++ b/.markdownlint.json @@ -1,3 +1,3 @@ { - "MD013": false + "MD013": false } diff --git a/biome.json b/biome.json index 7d64c0a3..46abb330 100644 --- a/biome.json +++ b/biome.json @@ -1,10 +1,14 @@ { - "files": { - "ignoreUnknown": true, - "includes": [ - "**", - "!!**/.github/renovate-tracked-deps.json", - "!!**/.claude" - ] - } + "formatter": { + "indentStyle": "space", + "indentWidth": 2 + }, + "files": { + "ignoreUnknown": true, + "includes": [ + "**", + "!!**/.github/renovate-tracked-deps.json", + "!!**/.claude" + ] + } } diff --git a/default.json b/default.json index 000ef9a4..40e9e9bf 100644 --- a/default.json +++ b/default.json @@ -1,62 +1,62 @@ { - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "description": "Renovate custom managers for repositories that use flint mise tasks", - "customManagers": [ - { - "customType": "regex", - "description": "Update _VERSION variables in mise.toml", - "managerFilePatterns": ["/^mise\\.toml$/"], - "matchStrings": [ - "# renovate: datasource=(?[a-z-]+?)(?: depName=(?.+?))?(?: packageName=(?.+?))?(?: versioning=(?[a-z-]+?))?\\s.+?_VERSION=\"?(?[^@\"]+?)(?:@(?sha256:[a-f0-9]+))?\"?\\s" - ] - }, - { - "customType": "regex", - "description": "Update raw.githubusercontent.com URLs pinned to SHA with version comment", - "managerFilePatterns": ["/^mise\\.toml$/"], - "matchStrings": [ - "https://raw\\.githubusercontent\\.com/(?[^/]+/[^/]+)/(?[a-f0-9]{40})/.*#\\s*(?v\\S+)" - ], - "datasourceTemplate": "github-tags" - }, - { - "customType": "regex", - "description": "Update mise version in GitHub Actions workflows", - "managerFilePatterns": [ - "/(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/(?:workflows|actions))/.+\\.ya?ml$/", - "/(^|/)action\\.ya?ml$/" - ], - "datasourceTemplate": "github-release-attachments", - "packageNameTemplate": "jdx/mise", - "depNameTemplate": "mise", - "matchStrings": [ - "jdx/mise-action.*\\n\\s*with:\\s*\\n\\s*version: [\"']?(?v[.\\d]+)[\"']?\\s*\\n\\s*sha256: [\"']?(?\\w+)[\"']?" - ] - } - ], - "packageRules": [ - { - "matchPackageNames": ["renovate"], - "description": "Only update renovate once a week", - "schedule": ["before 6am on Monday"] - }, - { - "matchPackageNames": ["jdx/mise"], - "groupName": "mise", - "description": "Only update mise once a week", - "schedule": ["before 4am on Monday"] - }, - { - "matchPackageNames": ["grafana/flint"], - "groupName": "flint", - "description": "Only update flint once a week", - "schedule": ["before 4am on Monday"] - }, - { - "matchPackageNames": ["ghcr.io/super-linter/super-linter"], - "matchCurrentValue": "/^slim-/", - "description": "Use regex versioning for slim Super-Linter tags (slim-v8.4.0)", - "versioning": "regex:^slim-v(?\\d+)\\.(?\\d+)\\.(?\\d+)$" - } - ] + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "description": "Renovate custom managers for repositories that use flint mise tasks", + "customManagers": [ + { + "customType": "regex", + "description": "Update _VERSION variables in mise.toml", + "managerFilePatterns": ["/^mise\\.toml$/"], + "matchStrings": [ + "# renovate: datasource=(?[a-z-]+?)(?: depName=(?.+?))?(?: packageName=(?.+?))?(?: versioning=(?[a-z-]+?))?\\s.+?_VERSION=\"?(?[^@\"]+?)(?:@(?sha256:[a-f0-9]+))?\"?\\s" + ] + }, + { + "customType": "regex", + "description": "Update raw.githubusercontent.com URLs pinned to SHA with version comment", + "managerFilePatterns": ["/^mise\\.toml$/"], + "matchStrings": [ + "https://raw\\.githubusercontent\\.com/(?[^/]+/[^/]+)/(?[a-f0-9]{40})/.*#\\s*(?v\\S+)" + ], + "datasourceTemplate": "github-tags" + }, + { + "customType": "regex", + "description": "Update mise version in GitHub Actions workflows", + "managerFilePatterns": [ + "/(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/(?:workflows|actions))/.+\\.ya?ml$/", + "/(^|/)action\\.ya?ml$/" + ], + "datasourceTemplate": "github-release-attachments", + "packageNameTemplate": "jdx/mise", + "depNameTemplate": "mise", + "matchStrings": [ + "jdx/mise-action.*\\n\\s*with:\\s*\\n\\s*version: [\"']?(?v[.\\d]+)[\"']?\\s*\\n\\s*sha256: [\"']?(?\\w+)[\"']?" + ] + } + ], + "packageRules": [ + { + "matchPackageNames": ["renovate"], + "description": "Only update renovate once a week", + "schedule": ["before 6am on Monday"] + }, + { + "matchPackageNames": ["jdx/mise"], + "groupName": "mise", + "description": "Only update mise once a week", + "schedule": ["before 4am on Monday"] + }, + { + "matchPackageNames": ["grafana/flint"], + "groupName": "flint", + "description": "Only update flint once a week", + "schedule": ["before 4am on Monday"] + }, + { + "matchPackageNames": ["ghcr.io/super-linter/super-linter"], + "matchCurrentValue": "/^slim-/", + "description": "Use regex versioning for slim Super-Linter tags (slim-v8.4.0)", + "versioning": "regex:^slim-v(?\\d+)\\.(?\\d+)\\.(?\\d+)$" + } + ] }