Skip to content
Merged
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
6 changes: 4 additions & 2 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
"prHourlyLimit": 0,
"prConcurrentLimit": 0,
"osvVulnerabilityAlerts": true,
"dependencyDashboardOSVVulnerabilitySummary": "all",
"dependencyDashboard": {
"osvVulnerabilitySummary": "all"
},
"lockFileMaintenance": {
"enabled": true,
"automerge": true
Expand Down Expand Up @@ -55,7 +57,7 @@
],
"customManagers": [
{
"description": "Make runner labels visible where they are NOT a literal `runs-on:` value. Renovate's github-actions manager extracts runners from literal `runs-on:` ONLY (its docs say so outright for env vars), so a label reached indirectly is invisible \u2014 and merging Renovate's partial PR then ships a SPLIT-BRAIN build (some jobs on the new image, some on the old) that stays GREEN, because both images work. Three shapes are covered, all observed in owine/*: (a) `matrix.include[]` entries `runner: ubuntu-26.04` \u2014 doc-scanner, youth-activity-scheduler, nut-cgi, MLB-Deferred-Contract-Calculator, house-manager; (b) a reusable-workflow `workflow_call` input named `runner` whose `default:` carries the label \u2014 compose-workflow, which today has 3 such defaults alongside 4 literal `runs-on:` and is one Renovate PR away from split-brain; (c) the same key inside a JSON string in a `run:` step, `\"runner\":\"ubuntu-26.04\"` \u2014 trip-tracker's dynamically-built matrix. INVARIANT \u2014 the capture must mirror the built-in manager's own regex `^\\s*(?<depName>[a-zA-Z]+)-(?<currentValue>[^\\s]+)`: `currentValue` takes the WHOLE remainder, suffix included, because the github-runners datasource carries `26.04-arm`, `15-large` and `15-intel` as distinct versions \u2014 `24.04-arm` is NOT `24.04` with decoration. Capturing a bare `\\d+\\.\\d+` would file the arm runner under the x64 runner's version and could propose a label that does not exist for arm. Matching the built-in extraction byte-for-byte also makes these deps collapse into the SAME branch as the literal `runs-on:` ones, which is what turns two half-PRs into one whole one. No `autoReplaceStringTemplate` on purpose: the default value-only replacement rewrites exactly the `currentValue` span. No `versioningTemplate` either \u2014 the github-runners datasource defaults to `docker` versioning, same as the built-in manager. INVARIANT \u2014 inter-field separators use `[ \\t]`, never `\\s`, so a match cannot leak across lines (see PR #4); `\\s` appears only inside negated classes as a value terminator, which is the opposite concern. The multi-line pattern (b) is bounded to <=6 intervening lines that each carry a `key: value` pair, so it stops at the next bare block-opening key and cannot latch onto a sibling input's `default:`; it also cannot match the `description:` line that quotes a sample label, because `default:` is required immediately before the value. These deps belong to `custom.regex`, not `github-actions`, so they are typed `ci:` by the `matchFileNames: ['.github/workflows/**']` rule above, not by the `matchManagers` one. SYNC - this is a hand-maintained COPY of the `github-runners` customManager in owine/renovate-config/default.json (added there by owine/renovate-config#103). The two have NO shared ancestor and Renovate resolves no link between them: this repo extends config:best-practices, security:openssf-scorecard, :semanticPrefixFixDepsChoreOthers and customManagers:githubActionsVersions - NOT the renovate-config preset, and that is the settled arrangement (2026-05-19: this repo is the independent second hub; do NOT migrate it to extend the other preset). The copy lives here rather than in this repo's own default.json preset because default.json is extended by docker-piwine, docker-piwine-office and docker-zendc - all three of which name runners ONLY as literal `runs-on:` values the built-in manager already sees, so the manager would match nothing there - while this repo, which holds the only `workflow_call` `runner` input defaults in the fleet and is pattern (b)'s motivating case, does not extend it. Any edit to the patterns or to this description must be applied BY HAND to both copies; there is no mechanism that will catch a divergence.",
"description": "Make runner labels visible where they are NOT a literal `runs-on:` value. Renovate's github-actions manager extracts runners from literal `runs-on:` ONLY (its docs say so outright for env vars), so a label reached indirectly is invisible β€” and merging Renovate's partial PR then ships a SPLIT-BRAIN build (some jobs on the new image, some on the old) that stays GREEN, because both images work. Three shapes are covered, all observed in owine/*: (a) `matrix.include[]` entries `runner: ubuntu-26.04` β€” doc-scanner, youth-activity-scheduler, nut-cgi, MLB-Deferred-Contract-Calculator, house-manager; (b) a reusable-workflow `workflow_call` input named `runner` whose `default:` carries the label β€” compose-workflow, which today has 3 such defaults alongside 4 literal `runs-on:` and is one Renovate PR away from split-brain; (c) the same key inside a JSON string in a `run:` step, `\"runner\":\"ubuntu-26.04\"` β€” trip-tracker's dynamically-built matrix. INVARIANT β€” the capture must mirror the built-in manager's own regex `^\\s*(?<depName>[a-zA-Z]+)-(?<currentValue>[^\\s]+)`: `currentValue` takes the WHOLE remainder, suffix included, because the github-runners datasource carries `26.04-arm`, `15-large` and `15-intel` as distinct versions β€” `24.04-arm` is NOT `24.04` with decoration. Capturing a bare `\\d+\\.\\d+` would file the arm runner under the x64 runner's version and could propose a label that does not exist for arm. Matching the built-in extraction byte-for-byte also makes these deps collapse into the SAME branch as the literal `runs-on:` ones, which is what turns two half-PRs into one whole one. No `autoReplaceStringTemplate` on purpose: the default value-only replacement rewrites exactly the `currentValue` span. No `versioningTemplate` either β€” the github-runners datasource defaults to `docker` versioning, same as the built-in manager. INVARIANT β€” inter-field separators use `[ \\t]`, never `\\s`, so a match cannot leak across lines (see PR #4); `\\s` appears only inside negated classes as a value terminator, which is the opposite concern. The multi-line pattern (b) is bounded to <=6 intervening lines that each carry a `key: value` pair, so it stops at the next bare block-opening key and cannot latch onto a sibling input's `default:`; it also cannot match the `description:` line that quotes a sample label, because `default:` is required immediately before the value. These deps belong to `custom.regex`, not `github-actions`, so they are typed `ci:` by the `matchFileNames: ['.github/workflows/**']` rule above, not by the `matchManagers` one. SYNC - this is a hand-maintained COPY of the `github-runners` customManager in owine/renovate-config/default.json (added there by owine/renovate-config#103). The two have NO shared ancestor and Renovate resolves no link between them: this repo extends config:best-practices, security:openssf-scorecard, :semanticPrefixFixDepsChoreOthers and customManagers:githubActionsVersions - NOT the renovate-config preset, and that is the settled arrangement (2026-05-19: this repo is the independent second hub; do NOT migrate it to extend the other preset). The copy lives here rather than in this repo's own default.json preset because default.json is extended by docker-piwine, docker-piwine-office and docker-zendc - all three of which name runners ONLY as literal `runs-on:` values the built-in manager already sees, so the manager would match nothing there - while this repo, which holds the only `workflow_call` `runner` input defaults in the fleet and is pattern (b)'s motivating case, does not extend it. Any edit to the patterns or to this description must be applied BY HAND to both copies; there is no mechanism that will catch a divergence.",
"customType": "regex",
"managerFilePatterns": [
"/^\\.github/workflows/[^/]+\\.ya?ml$/"
Expand Down