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

Group minor/patch version Go Dependabot updates into one PR #1228

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

edmorley
Copy link
Contributor

Go minor/patch dependencies will now be grouped, using the new Dependabot grouping feature:
https://github.blog/changelog/2023-08-17-grouped-version-updates-by-semantic-version-level-for-dependabot/

Major updates, as well as security updates will still be opened as separate PRs. I've not grouped GitHub Actions update PRs, since the volume is typically much lower for those.

The custom open pull requests limit has been removed, since it is no longer necessary, as there won't be as many open PRs.

In addition, the schedule has been changed from daily to weekly.

This reduces project maintenance toil (no more having to manually create combined update PRs), plus makes it less painful for contributors to subscribe to repository notifications (currently there is a lot of noise from Dependabot PRs being opened/auto-rebased etc).

Go minor/patch dependencies will now be grouped, using the new
Dependabot grouping feature:
https://github.blog/changelog/2023-08-17-grouped-version-updates-by-semantic-version-level-for-dependabot/

Major updates, as well as security updates will still be opened as
separate PRs. I've not grouped GitHub Actions update PRs, since the
volume is typically much lower for those.

The custom open pull requests limit has been removed, since it is
no longer necessary, as there won't be as many open PRs.

In addition, the schedule has been changed from daily to weekly.

This reduces project maintenance toil (no more having to manually create
combined update PRs), plus makes it less painful for contributors to
subscribe to repository notifications (currently there is a lot of noise
from Dependabot PRs being opened/auto-rebased etc).

Signed-off-by: Ed Morley <[email protected]>
Copy link
Member

@natalieparellano natalieparellano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR @edmorley, this is extremely helpful!

@edmorley
Copy link
Contributor Author

No problem!

This is an example of how the group PRs look (they still include changelogs for each package etc, plus commands like recreate / rebase etc still work):
heroku/languages-github-actions#166

I meant to also say in the PR description, that we could also switch to monthly if weekly ended up still being too noisy.

For Heroku's repos we tend to use monthly, and on the occasion when we need an update sooner (eg just about to create a new release), we trigger Dependabot manually (which can be done via repo "Insights" -> "Dependency graph" -> Dependabot tab -> "Recent update jobs" -> "Check for updates").

@natalieparellano natalieparellano merged commit 736b776 into buildpacks:main Oct 30, 2023
8 checks passed
@edmorley edmorley deleted the dependabot-grouping branch October 30, 2023 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants