-
Notifications
You must be signed in to change notification settings - Fork 59
feat(ng-dev): update renovate.json baseBranches when creating a new branch
#2772
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
e54eaa7 to
3ca73c5
Compare
ng-dev/release/publish/actions.ts
Outdated
| const baseBranches = configJson.baseBranches; | ||
| if (!Array.isArray(baseBranches) || baseBranches.length !== 2) { | ||
| spinner.success( | ||
| yellow('Skipped updating Renovate config: "baseBranches" must contain exactly 2 branches.'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aren't there cases where we also want to update patch, rc and main?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question. I think once the feature freeze begins, changes to the patch branch should be kept minimal to maintain stability, especially since it's heading to LTS soon.
Also, running Renovate on three branches would significantly increase runtime not to mention PRs will take longer to open due to rate limits.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair point
… branch Adds support for automatically modifying `renovate.json` to include newly created branches in the `baseBranches` array, when `updateRenovateConfig` is enabled.
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Adds support for automatically modifying
renovate.jsonto include newly created branches in thebaseBranchesarray, whenupdateRenovateConfigis enabled.