Repository navigation
fix(ci): repair Renovate preset and validate config in PRs (#520) - #523
Merged
Merged
Conversation
Split Python packageRules so matchUpdateTypes and rangeStrategy are not combined; migrate baseBranches to baseBranchPatterns; remove invalid uv from enabledManagers (pep621 covers uv.lock); add renovate-validate workflow. Refs: #520
The pinned SHA for actions/setup-node v4.1.0 was corrupted in the last 12 hex chars, causing "repository or version not found" at action resolution time. Replace with the real tag SHA. Refs: #520
Align EXPECTED_VERSIONS with the latest upstream releases the image now installs (gh 2.92, just 1.50, cargo-binstall 1.18) so the version assertions pass on freshly built images. Refs: #520
There was a problem hiding this comment.
Pull request overview
Fixes the Renovate configuration regression that stopped dependency PRs (issue #520) by adjusting the shared preset and adding CI validation to prevent invalid Renovate JSON from merging.
Changes:
- Repair Renovate preset rules (Python packageRules split;
baseBranches→baseBranchPatterns) and remove invaliduvmanager usage from Renovate configs. - Add a PR workflow to run
renovate-config-validator --strictwhen Renovate JSON files change. - Update changelogs and bump expected tool versions in the image verification tests.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
tests/test_image.py |
Updates expected tool versions used by image verification tests. |
renovate.json |
Removes uv from enabledManagers in root Renovate config. |
assets/workspace/renovate.json |
Removes uv from workspace template Renovate config. |
assets/workspace/.github/renovate-default.json |
Fixes preset branch targeting and Python packageRules behavior. |
CHANGELOG.md |
Adds Unreleased entries documenting the Renovate fix and CI validation. |
assets/workspace/.devcontainer/CHANGELOG.md |
Mirrors Unreleased changelog entries for the workspace template. |
.github/workflows/renovate-validate.yml |
Introduces PR-time Renovate config validation workflow. |
.github/pr-draft-479-into-release-0.3.2.md |
Removes an obsolete PR draft file. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
assets/workspace/renovate.json uses {{GITHUB_REPOSITORY}} in extends; strict
mode rejects it until init.
Refs: #520
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Resolves the Renovate configuration error that caused issue #520 (Mend stopped opening dependency PRs).
Changes
assets/workspace/.github/renovate-default.json): split PythonpackageRulessomatchUpdateTypesandrangeStrategyare not in the same rule; renamebaseBranchestobaseBranchPatterns.renovate.json: removeuvfromenabledManagers.uvis not a registered Renovate manager id;pep621coverspyproject.tomlanduv.lockper Renovate docs..github/workflows/renovate-validate.ymlrunningrenovate-config-validator --strictwhen renovate JSON changes.Verification
npx --yes --package renovate@latest -c "renovate-config-validator --strict renovate.json assets/workspace/.github/renovate-default.json"Refs: #520