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

chore: allow dependabot to upgrade more dependencies #9619

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

plumpy
Copy link
Collaborator

@plumpy plumpy commented Dec 18, 2024

It had been configured to only allow security updates. Now that we've updated all the core dependencies, let it keep things up to date.

Only have it run once a week since there will be many more updates now.

It had been configured to only allow security updates. Now that we've
updated all the core dependencies, let it keep things up to date.

Only have it run once a week since there will be many more updates now.
@plumpy plumpy requested a review from mattsanta December 18, 2024 16:45
@plumpy plumpy requested a review from a team as a code owner December 18, 2024 16:45
Copy link

@code-review-assist code-review-assist bot left a comment

Choose a reason for hiding this comment

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

Hi team,

I'm currently reviewing this pull request and will have a full review up in a few minutes. In the meantime, here's a quick summary for you and other reviewers to get up to speed:

This PR, by plumpy, modifies the .github/dependabot.yml file to allow Dependabot to upgrade more dependencies than just security updates. Previously, the open-pull-requests-limit was set to 0, effectively only allowing security updates. This PR removes that limit and changes the update schedule from daily to weekly. The intent is to keep dependencies up-to-date more frequently, now that the core dependencies have been updated. The change involves updating the interval parameter in all the schedule blocks within the .github/dependabot.yml file from "daily" to "weekly", and removing the open-pull-requests-limit parameter.

The changes are limited to the .github/dependabot.yml file, specifically lines 10, 19, 24, 28, 32, 36, 40, 45, 50, 54, 58, 62, 66, 70, 74, and 77. All instances of "daily" have been replaced with "weekly" in the interval field of the schedule blocks. The lines 11-13 have been removed, which contained the open-pull-requests-limit parameter.

Here's a little haiku to lighten the mood:

Dependabot's hum,
Weekly updates, fresh and clean,
Codebase thrives now.

Thanks!
Gemini

Copy link

@code-review-assist code-review-assist bot left a comment

Choose a reason for hiding this comment

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

This change looks good and will allow dependabot to manage more dependencies. Switching to weekly updates is a sensible choice given the expected increase in updates.

One potential improvement would be to consider grouping related package ecosystems together within each directory. This can improve readability and make it easier to manage the configuration in the future. For example, all the /integration/examples updates could be grouped together, and within that group, further organized by package ecosystem.

# Security updates have their own PR limit, so setting this to 0 will only
# allow security updates through.
open-pull-requests-limit: 0
interval: "weekly"

Choose a reason for hiding this comment

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

low

Since the open-pull-requests-limit is being removed to allow all updates, consider adding a comment explaining this decision. This will help future maintainers understand the configuration.

Suggested change
interval: "weekly"
interval: "weekly"
# Removing open-pull-requests-limit to allow all updates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant