go through dependabot upgrades and test, approve, document, and merge them #11140
Labels
dependencies
Pull requests that update a dependency file
help wanted
requires help by anyone willing to contribute
multiple-use
support
supportive-task
systems
Updating this to be a guide to merging dependabot pull requests!
Dependabot automatically opens pull requests (PRs) to upgrade our dependencies -- external libraries we are using. You can see such recently opened PRs at:
My process for this is to look at different aspects of the PR to see if it's good to merge now, of if it needs more testing, or if we need to skip or decline to upgrade.
An example of one we need to skip for now is an upgrade to Bootstrap 5 - #10478 - we aren't ready for such a wide-ranging upgrade, as it'd affect many HTML templates across the project! It's a big endeavor, not just a click-and-merge. Similarly #9581 makes me wary... i'd want to check it manually.
By contrast, #11068 was easy - it's a javascript library, so it doesn't affect server-side site functions, it just formats dates. Easy to merge!
But how exactly did I know the difference? It really incorporates many different signs, so let me list out some I look for and balance in making a decision.
Evaluating a Dependabot pull request 🤖 🔍
Release notes
orChangelog
to see) in case it's breaking something we haven't written a test for?What to do 💪 🛠️
@dependabot rebase
and Dependabot will automatically rebase the PR. Sometimes it'll pass then!Often a Dependabot PR is a quick merge, but some can linger around for months if we aren't sure what's going wrong, or if we don't have time to work through these steps. Getting some help can move this process forward and we're very grateful for the help!
The text was updated successfully, but these errors were encountered: