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

[CI] group dependabot updates into fewer PRs and/or do not automatically run CI on them #11044

Open
jameslamb opened this issue Dec 2, 2024 · 1 comment

Comments

@jameslamb
Copy link
Contributor

Description

The description of #11001 mentions the risk of

...[Dependabot] filing a torrent of pull requests (which would explode our CI budget!)

Opening this issue to propose 2 protections against that:

  1. group dependabot updates into a smaller total number of PRs
  1. do not automatically trigger CI, via telling dependabot to include [skip ci] in its commit messages

Benefits of this work

Fewer resources (CI runners, time, money) devoted to dependabot PRs, with no loss of update frequency.

Higher release confidence (via testing more updates together at the same time before any of them are merged).

Approach

See the docs I linked above.

As a start, "group all of the Maven updates together" seems like it'd be helpful and reduce the total number of PRs noticeably. I don't have specific suggestions beyond that.

@jameslamb jameslamb changed the title [CI] group dependabot updates into fewer PRs [CI] group dependabot updates into fewer PRs and/or do not automatically run CI on them Dec 2, 2024
@trivialfis
Copy link
Member

Thank you for raising the issue. It would be a huge improvement if we could avoid duplicated PRs alone. For context, the Java/Scala binding has a few different packages sharing the same set of dependencies in the same pom file. The dependent bot opens one PR for each package but the modification is the same.

See, for example, #11033 . I have to close the duplicated PRs manually.

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

No branches or pull requests

2 participants