Skip to content

ci: run renovate post-upgrade tasks only for npm and lockfile maintenance#3567

Merged
alan-agius4 merged 1 commit intoangular:mainfrom
alan-agius4:renovate-post
Mar 24, 2026
Merged

ci: run renovate post-upgrade tasks only for npm and lockfile maintenance#3567
alan-agius4 merged 1 commit intoangular:mainfrom
alan-agius4:renovate-post

Conversation

@alan-agius4
Copy link
Contributor

Update the Renovate configuration to only trigger post-upgrade commands (pnpm install, sync-all-modules.sh, and update-generated-files) when the npm manager is used or during lock-file maintenance. This ensures that Bazel manager updates not impacting the NPM lock-file or sync-module-bazel will not trigger those tasks.

…ance

Update the Renovate configuration to only trigger post-upgrade commands (pnpm install,
sync-all-modules.sh, and update-generated-files) when the npm manager is used
or during lock-file maintenance. This ensures that Bazel manager updates
not impacting the NPM lock-file or sync-module-bazel will not trigger those tasks.
@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label Mar 24, 2026
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Renovate configuration to run post-upgrade tasks only for npm manager updates and lock file maintenance. The implementation correctly uses two separate rules to achieve the desired OR logic. However, this introduces duplication of the postUpgradeTasks block. While functionally correct, this could be improved for better maintainability by extracting the duplicated configuration into a shared preset. My review includes a suggestion on how to address this.

@alan-agius4 alan-agius4 removed the request for review from josephperrott March 24, 2026 07:51
@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Mar 24, 2026
@alan-agius4 alan-agius4 merged commit 94db51b into angular:main Mar 24, 2026
13 checks passed
@alan-agius4
Copy link
Contributor Author

This PR was merged into the repository. The changes were merged into the following branches:

@alan-agius4 alan-agius4 deleted the renovate-post branch March 24, 2026 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants