Extend shared renovate-config and settings defaults - #80
Merged
Conversation
…ating them renovate.json and .github/settings.yml (repo-settings labels) were boilerplate duplicated across ~15 of modem7's repos. They now extend shared, centrally maintained sources instead: - renovate.json extends github>modem7/renovate-config - .github/settings.yml adds `_extends: .github` and drops the duplicated `labels:` array, inheriting labels from modem7/.github
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
renovate.jsonboilerplate with a one-line extend of the shared preset inmodem7/renovate-config._extends: .githubto.github/settings.ymland drop the duplicatedlabels:array so labels are inherited from the account-wide defaults inmodem7/.github.This is part of a batch migration of ~15 of modem7's repos off duplicated Renovate/label boilerplate and onto centrally maintained shared config.
Dependency note: this depends on
modem7/renovate-configPR #6 merging for the newextendstarget to take full effect. Until #6 merges,github>modem7/renovate-configstill resolves to the current (pre-#6) config content, which is harmless — the extends reference itself is correct and validated successfully withrenovate-config-validator.Test plan
npx --yes -p renovate renovate-config-validator→ "Config validated successfully"python3 -c "import yaml; yaml.safe_load(open('.github/settings.yml'))"→ parses cleanly