-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Enable automatic NPM updates using dependabot #22679
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
separator: "-" | ||
ignore: | ||
- dependency-name: "*" | ||
update-types: ["version-update:semver-minor"] |
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.
Note: This will currently prevent any minor updates for npm library to happen. At some point we might want to remove that, but at the moment this would break the build process. Applying only patch version updates doesn't cause problems in the build process.
See https://github.com/sgiehl/matomo/actions/runs/11329289061/job/31504483927?pr=55 for a fail build after minor updates
Just a minor question about a label for PRs but not holding the approval just because of that. |
@michalkleiner I've adjusted the labels now. Feel free to review and merge if everything is fine. |
Description:
This PR enables NPM updates using dependabot.
Updates will only include minor or patch version updates.
To ensure that production package updates are commited to git, I've also added a new action to handle that.
The additional node requirement in
package.json
is required, as otherwise npm update might update sub-dependencies to versions that may break the vue build process.Review