fix: Remove extractVersion from matchUpdateTypes rules#1557
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 — single-file config fix with no logic or security implications. The change removes two No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Renovate detects update] --> B{matchManagers?}
B -- github-actions --> C{matchUpdateTypes?}
B -- other --> D{matchUpdateTypes?}
C -- minor/patch/digest/pinDigest --> E[Group: github-actions-non-major\nautomerge: true]
C -- major --> F[Group: github-actions-major\nautomerge: false]
D -- minor/patch --> G[Group: minor and patch updates\nautomerge: true]
D -- major --> H[automerge: false]
D -- digest --> I[automerge: false]
Reviews (1): Last reviewed commit: "Remove extractVersion from matchUpdateTy..." | Re-trigger Greptile |
Summary
Removes
extractVersionfrom the two GitHub ActionspackageRulesthat also specifymatchUpdateTypes. Renovate 43.x does not allow combining these two fields in the same rule, causing a config validation error that blocks all Renovate PRs.The
extractVersionfield (^v(?<version>\d+\.\d+\.\d+)$) is no longer needed here — thegithub-actionsmanager in modern Renovate natively handlesv-prefixed semver tags.This same fix is being applied across all SDK repos (
workos-dotnet,workos-python,workos-ruby,workos-php,workos-kotlin,workos-php-laravel,workos-go).Review & Testing Checklist for Human
Notes
The root cause was the "Refactor GitHub Actions package rules in renovate.json" commit which moved
extractVersioninto rules that also hadmatchUpdateTypes— a combination Renovate 43.x rejects. The original standaloneextractVersionrule (withoutmatchUpdateTypes) was valid, but the refactored version is not.Link to Devin session: https://app.devin.ai/sessions/8f92a2c219484c7a8123b098ba22aff0