Skip to content
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

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

Merged
merged 3 commits into from
Oct 15, 2024

Conversation

tdonohue
Copy link
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
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
17 checks passed
@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
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

1 participant