-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Use Dependabot to check for npm updates #23
Conversation
Dependabot will check for npm updates each working day (Monday trough Friday). It will label any pull requests with the `dependencies` label.
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.
Hey! Thank you for your contribution!
Much appreciated! 🙏
This might not work for our playgrounds itself because they don't have tests so we have to do manual tests anyway. For the dependencies in the root this might be interesting. I know that there are some issue with newer TypeScript/TSDX versions but in that case CI would/should fail.
We'll see how this turns out and I might keep it or delete it in the future.
Yeah, if you don't like the bot, you can always turn it off by reverting this change. Thanks for merging in my work! 👍 |
On dependabot not supporting grouped updatesDo you prefer grouped updates for Dependabot doesn't currently know how to group dependencies, this is a long standing feature request at the dependabot/core repo, see dependabot/dependabot-core#1190 and dependabot/dependabot-core#1296. I don't know when this will be added. Consider using the Renovate bot for grouped updates supportIf you really want grouped updates, take a look at the Renovate bot. You can install the Renovate bot into the repository at the GitHub marketplace. The renovate bot has a really good on-boarding Pull request. That makes it way easier to figure out how to configure it to your liking. Links to renovate bot docs:
Or find another bot you like better at the GitHub marketplacehttps://github.com/marketplace/category/dependency-management It seems that Depfu also has support for grouped updates according to dependabot/dependabot-core#1190 (comment). |
If your problem is with Dependabot opening pull requests for dependencies you want to ignore, read the section on ignoring dependencies in the GitHub docs for Dependabot: |
I saw Gary Bernhardt recommend Depfu instead of Dependabot on Twitter a while back and he generally has impeccable taste, so might be worth looking at that as an alternative. |
Depfu seems really promising:
Following advice from somebody else who you like and respect is not a bad idea in general. 👍 I can verify that Depfu bundles the Dependabot does have a tendency to open a lot of pull requests at once. headlessui/.github/dependabot.yml Lines 5 to 6 in f660e0f
|
Re: Dependabot creating a lot of PRs instead of grouping them together. I was was frustrated with this too, so I created a GitHub workflow to automatically combine/group all Dependabot PRs together into a single PR. I figured others could benefit from it too, so I made it available here: https://github.com/hrvey/combine-prs-workflow |
Changes:
Dependabot will check for npm updates each working day (Monday trough Friday).
It will label any pull requests it makes with the
dependencies
label.Context:
I think it's a good idea to use a bot to check for updates.