fix: Remove extractVersion from matchUpdateTypes rules#365
Conversation
Renovate 43.x does not allow combining matchUpdateTypes and extractVersion in the same packageRule. The github-actions manager natively handles v-prefixed semver tags, so extractVersion is no longer needed. Co-Authored-By: garen.torikian <garen.torikian@workos.com>
Original prompt from garen.torikian
|
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Greptile SummaryThis PR removes Confidence Score: 5/5Safe to merge — minimal, targeted config fix with no logic or security implications. The change removes exactly the two No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Renovate runs config validation] --> B{Renovate 43.x check}
B -- "matchUpdateTypes + extractVersion\nin same rule" --> C[❌ Config validation error\n'Fix Renovate Configuration' issue opened]
B -- "matchUpdateTypes only\n(no extractVersion)" --> D[✅ Config valid]
D --> E[github-actions manager\nnatively strips 'v' prefix\nfrom semver tags]
E --> F[PRs proposed for\ngithub-actions updates]
Reviews (1): Last reviewed commit: "Remove extractVersion from matchUpdateTy..." | Re-trigger Greptile |
Summary
Removes
extractVersionfrom two GitHub ActionspackageRulesentries inrenovate.jsonthat also usematchUpdateTypes.Renovate 43.x does not allow combining
matchUpdateTypesandextractVersionin the same package rule, causing a config validation error:This was the root cause of the "Action Required: Fix Renovate Configuration" issues opened by the Renovate bot across all SDK repos. The
extractVersionfield (^v(?<version>\d+\.\d+\.\d+)$) is no longer needed here — thegithub-actionsmanager in modern Renovate natively handlesv-prefixed semver tags.The same fix is being applied to all 8 affected SDK repos.
Review & Testing Checklist for Human
extractVersiondoes not regress GitHub Actions version detection for this repo's workflows (check that Renovate can still detect and propose updates for digest-pinned actions)Notes
The previous
extractVersionwas originally in a standalone rule withoutmatchUpdateTypes. A recent refactor split the GitHub Actions rules into major/non-major groups but carriedextractVersioninto both, creating the invalid combination.Link to Devin session: https://app.devin.ai/sessions/8f92a2c219484c7a8123b098ba22aff0