mirror of
https://github.com/gmeligio/flutter-docker-image.git
synced 2026-05-24 12:30:34 +00:00
3464097fbf
- Reconfigures Mend Renovate to manage GitHub Action versions exclusively through `.github/gx.toml` instead of editing workflow files directly - Disables Renovate's built-in `github-actions` manager; adds a custom regex manager reading specifiers from `gx.toml` with `github-tags` datasource and `npm` versioning (so `^6` and `~0.3.0` are honored) - Moves the monthly schedule (`* 0-3 1 * *`) to a rule scoped to `.github/gx.toml`; the existing `gx.yml` tidy job propagates Renovate's manifest edits to `gx.lock` and workflow files on the PR branch - Syncs the updated `actions-version-tracking` spec into `openspec/specs/` --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
46 lines
1.5 KiB
JSON
46 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": [
|
|
"config:recommended",
|
|
"group:allNonMajor",
|
|
"group:recommended",
|
|
"group:monorepos",
|
|
"schedule:weekly"
|
|
],
|
|
"packageRules": [
|
|
{
|
|
"description": "Disable Renovate's built-in github-actions manager — gx owns workflow and composite-action files",
|
|
"matchManagers": ["github-actions"],
|
|
"enabled": false
|
|
},
|
|
{
|
|
"description": "Schedule gx.toml-driven action major upgrades on the first day of the month",
|
|
"matchFileNames": [".github/gx.toml"],
|
|
"groupName": "github-actions",
|
|
"schedule": ["* 0-3 1 * *"]
|
|
}
|
|
],
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"description": "Read GitHub Action specifiers from gx.toml",
|
|
"managerFilePatterns": ["/^\\.github/gx\\.toml$/"],
|
|
"matchStrings": [
|
|
"\"(?<depName>(?<packageName>[^/\"]+/[^/\"]+)(?:/[^\"]+)?)\"\\s*=\\s*\"(?<currentValue>[^\"]+)\""
|
|
],
|
|
"datasourceTemplate": "github-tags",
|
|
"versioningTemplate": "npm",
|
|
"extractVersionTemplate": "^v?(?<version>.+)$"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"managerFilePatterns": ["/^Dockerfile$/"],
|
|
"matchStrings": [
|
|
"#\\s*renovate:\\s*suite=(?<suite>.*?) depName=(?<depName>.*?)\\sARG .*?_VERSION=\"(?<currentValue>.*)\"\\s"
|
|
],
|
|
"registryUrlTemplate": "https://deb.debian.org/debian?{{#if release }}release={{release}}{{else}}suite=stable{{/if}}&components=main,contrib,non-free&binaryArch=amd64",
|
|
"datasourceTemplate": "deb"
|
|
}
|
|
]
|
|
}
|