chore(renovate): simplify quickstart and batch weekly linter updates#257
Merged
zeitlinger merged 2 commits intomainfrom Apr 30, 2026
Merged
chore(renovate): simplify quickstart and batch weekly linter updates#257zeitlinger merged 2 commits intomainfrom
zeitlinger merged 2 commits intomainfrom
Conversation
martincostello
approved these changes
Apr 29, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Simplifies the README quickstart [tools] example and moves README version maintenance into repo-local Renovate regex managers, while keeping the shared default.json preset contract stable.
Changes:
- Reduce README quickstart tool list to three representative linters (shellcheck, shfmt, actionlint).
- Add repo-local Renovate regex custom managers to update those README example versions automatically.
- Update the Renovate alignment/drift test and committed renovate dependency snapshot to reflect the repo-local README managers.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
src/registry/tests.rs |
Adjusts the Renovate preset alignment test and updates the README quickstart snippet drift test keys. |
src/readme_snippets.rs |
Shrinks QUICKSTART_KEYS to the three README example tools. |
src/bin/sync-readme-snippets.rs |
Updates README snippet renderer to output only the three representative tools. |
README.md |
Shrinks the quickstart [tools] example accordingly. |
.github/renovate.json5 |
Adds repo-local regex managers to update the README quickstart tool versions. |
.github/renovate-tracked-deps.json |
Tracks the new README regex dependencies in the committed Renovate snapshot. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
21cb168 to
677eb5e
Compare
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.
Blocked by #253
Summary
[tools]example to three representative lintersdefault.jsonfree of repo-specific README rulesdefault.jsonWhy
The previous approach made README quickstart version drift break Renovate PRs, even though the README example is repository-specific. This change keeps the example small, keeps its version bumps automatic, and avoids pushing repo-local behavior into the shared preset.
The follow-up Renovate change also keeps linter bumps batched into one Monday PR, including majors, so the repo gets one coordinated linter-update PR instead of split grouped PRs with generic titles.
Validation
renovate-config-validator --no-global .github/renovate.json5cargo test repo_renovate_config_stays_aligned_with_shared_preset_contract -- --nocapturecargo test readme_quickstart_tools_snippets_stay_current -- --nocapturecargo test default_renovate_preset_covers_all_linter_tools_weeklycargo test repo_renovate_config_stays_aligned_with_shared_preset_contractmise run lint:fix