Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/renovate-tracked-deps.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
".github/workflows/lint.yml": {
"regex": [
"mise"
]
},
"README.md": {
"regex": [
"grafana/flint"
Expand Down
15 changes: 15 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,23 @@
matchStrings: ["https://raw\\.githubusercontent\\.com/(?<depName>[^/]+/[^/]+)/(?<currentDigest>[a-f0-9]{40})/.*#\\s*(?<currentValue>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: [\"']?(?<currentValue>v[.\\d]+)[\"']?\\s*\\n\\s*sha256: [\"']?(?<currentDigest>\\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-/",
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
20 changes: 20 additions & 0 deletions default.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,20 @@
"https://raw\\.githubusercontent\\.com/(?<depName>[^/]+/[^/]+)/(?<currentDigest>[a-f0-9]{40})/.*#\\s*(?<currentValue>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: [\"']?(?<currentValue>v[.\\d]+)[\"']?\\s*\\n\\s*sha256: [\"']?(?<currentDigest>\\w+)[\"']?"
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The regex pattern expects mise-action usage with with:, version:, and sha256: fields in the workflow YAML. However, the actual usage in .github/workflows/lint.yml line 24 shows uses: jdx/mise-action@6d1e696aa24c1aa1bcc1adea0212707c71ab78a8 # v3.6.1 without any with: block containing version and sha256 fields. This custom manager will not match the current workflow format and won't be able to update mise-action. The regex pattern needs to be updated to match the actual usage pattern, or the workflow file needs to be updated to use the version/sha256 format expected by this regex.

Suggested change
"jdx/mise-action.*\\n\\s*with:\\s*\\n\\s*version: [\"']?(?<currentValue>v[.\\d]+)[\"']?\\s*\\n\\s*sha256: [\"']?(?<currentDigest>\\w+)[\"']?"
"^\\s*uses:\\s*jdx/mise-action@(?<currentDigest>[a-f0-9]{40})\\s*#\\s*(?<currentValue>v\\S+)"

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rejected — the regex is intentionally for version: + sha256: pinning, not the action SHA. The lint.yml in this same PR was updated to include with: version: / sha256:, and the renovate linter confirms the match (mise now appears in renovate-tracked-deps.json).

]
}
],
"packageRules": [
Expand All @@ -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-/",
Expand Down