From ccc10af135a4bc6366dccb1738069d23e48bfa0a Mon Sep 17 00:00:00 2001 From: Gregor Zeitlinger Date: Fri, 20 Feb 2026 18:55:01 +0100 Subject: [PATCH 1/3] Add mise version pinning custom manager for renovate Centralize the renovate custom manager for mise version+sha256 pinning in GitHub Actions workflows so all repos that extend flint get automatic updates. Signed-off-by: Gregor Zeitlinger --- .github/renovate.json5 | 20 ++++++++++++++++++++ .github/workflows/lint.yml | 3 +++ default.json | 20 ++++++++++++++++++++ 3 files changed, 43 insertions(+) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 95a5ddb..e289e24 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -29,8 +29,28 @@ 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: ["jdx/mise"], + groupName: "mise", + description: "Only update mise once a week", + schedule: ["before 4am on monday"], + }, { matchPackageNames: ["ghcr.io/super-linter/super-linter"], matchCurrentValue: "/^slim-/", diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8d02158..c655002 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -22,6 +22,9 @@ jobs: - name: Setup mise uses: jdx/mise-action@6d1e696aa24c1aa1bcc1adea0212707c71ab78a8 # v3.6.1 + with: + version: v2026.2.11 + sha256: 3e1baedb9284124b770d2d561a04a98c343d05967c83deb8b35c7c941f8d9c9a - name: Lint env: diff --git a/default.json b/default.json index aafcd40..ed704a8 100644 --- a/default.json +++ b/default.json @@ -18,6 +18,20 @@ "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": [ @@ -26,6 +40,12 @@ "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": ["ghcr.io/super-linter/super-linter"], "matchCurrentValue": "/^slim-/", From 11d1db1a25a417b9dbd9942657101fff03a7405d Mon Sep 17 00:00:00 2001 From: Gregor Zeitlinger Date: Fri, 20 Feb 2026 19:21:20 +0100 Subject: [PATCH 2/3] Fix Monday capitalization, update tracked deps - Capitalize "Monday" consistently in mise schedule rule - Add mise to renovate-tracked-deps.json (now detected via custom manager) Signed-off-by: Gregor Zeitlinger --- .github/renovate-tracked-deps.json | 5 +++++ .github/renovate.json5 | 2 +- default.json | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/renovate-tracked-deps.json b/.github/renovate-tracked-deps.json index d1ca883..212d103 100644 --- a/.github/renovate-tracked-deps.json +++ b/.github/renovate-tracked-deps.json @@ -1,4 +1,9 @@ { + ".github/workflows/lint.yml": { + "regex": [ + "mise" + ] + }, "README.md": { "regex": [ "grafana/flint" diff --git a/.github/renovate.json5 b/.github/renovate.json5 index e289e24..838ad03 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -49,7 +49,7 @@ matchPackageNames: ["jdx/mise"], groupName: "mise", description: "Only update mise once a week", - schedule: ["before 4am on monday"], + schedule: ["before 4am on Monday"], }, { matchPackageNames: ["ghcr.io/super-linter/super-linter"], diff --git a/default.json b/default.json index ed704a8..046f552 100644 --- a/default.json +++ b/default.json @@ -44,7 +44,7 @@ "matchPackageNames": ["jdx/mise"], "groupName": "mise", "description": "Only update mise once a week", - "schedule": ["before 4am on monday"] + "schedule": ["before 4am on Monday"] }, { "matchPackageNames": ["ghcr.io/super-linter/super-linter"], From a891be74446b2095647ea41865f0720e250f489c Mon Sep 17 00:00:00 2001 From: Gregor Zeitlinger Date: Fri, 20 Feb 2026 19:25:55 +0100 Subject: [PATCH 3/3] Fix prettier formatting in renovate.json5 Signed-off-by: Gregor Zeitlinger --- .github/renovate.json5 | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 838ad03..d554700 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -32,16 +32,11 @@ { customType: "regex", description: "Update mise version in GitHub Actions workflows", - managerFilePatterns: [ - "/(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/(?:workflows|actions))/.+\\.ya?ml$/", - "/(^|/)action\\.ya?ml$/", - ], + 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+)["\']?', - ], + matchStrings: ["jdx/mise-action.*\\n\\s*with:\\s*\\n\\s*version: [\"']?(?v[.\\d]+)[\"']?\\s*\\n\\s*sha256: [\"']?(?\\w+)[\"']?"], }, ], packageRules: [