Skip to content

Configure Dependabot to also attempt minor/patch updates for dependencies#3420

Merged
tdonohue merged 3 commits intomainfrom
tdonohue-dependabot
Oct 15, 2024
Merged

Configure Dependabot to also attempt minor/patch updates for dependencies#3420
tdonohue merged 3 commits intomainfrom
tdonohue-dependabot

Conversation

@tdonohue
Copy link
Copy Markdown
Member

@tdonohue tdonohue commented Oct 14, 2024

Description

Create dependabot.yml. Add an initial configuration which does the following:

  • Checks for dependency updates weekly. Automatically creates PRs for non-major updates (i.e. minor and patch only)
  • Configures groups for Angular & NgRx updates to ensure these dependencies are updated together in a single PR. (Otherwise, dependabot will attempt to send a PR per dependency)
  • Enables dependabot also on dspace-8_x and dspace-7_x branches (currently, all branches have identical settings)

References

Instructions for Reviewers

I don't believe there is any way to test this other than to apply it and see what Dependabot does.

Add configs for version dependency updates
@tdonohue tdonohue added dependencies Pull requests that update a dependency file 1 APPROVAL pull request only requires a single approval to merge labels Oct 14, 2024
@tdonohue
Copy link
Copy Markdown
Member Author

Asked for any objections in Slack #dev channel. No one objected and there was support from @alanorth . So, I'm merging this as-is to test it out. If this works well for the frontend, then we'll want to do something similar for the backend. If it doesn't work, we can revert to only using dependabot for security updates.

@tdonohue tdonohue added this to the 9.0 milestone Oct 15, 2024
@tdonohue tdonohue merged commit 47e8942 into main Oct 15, 2024
@tdonohue tdonohue deleted the tdonohue-dependabot branch October 15, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1 APPROVAL pull request only requires a single approval to merge dependencies Pull requests that update a dependency file

Projects

No open projects
Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

1 participant