Skip to content

Consolidate schedule for Dependabot updates#582

Merged
SteveSandersonMS merged 1 commit intomainfrom
stevesa/dependabot-grouping
Feb 25, 2026
Merged

Consolidate schedule for Dependabot updates#582
SteveSandersonMS merged 1 commit intomainfrom
stevesa/dependabot-grouping

Conversation

@SteveSandersonMS
Copy link
Contributor

We just got dozens of PRs from Dependabot. This should reduce it to one per week.

@SteveSandersonMS SteveSandersonMS requested a review from a team as a code owner February 25, 2026 17:33
Copilot AI review requested due to automatic review settings February 25, 2026 17:33
@SteveSandersonMS SteveSandersonMS merged commit f9144f1 into main Feb 25, 2026
13 checks passed
@SteveSandersonMS SteveSandersonMS deleted the stevesa/dependabot-grouping branch February 25, 2026 17:35
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request attempts to consolidate Dependabot update schedules to reduce the frequency of dependency update PRs from multiple individual PRs to a single weekly batch. The change introduces a multi-ecosystem-groups configuration that aims to group all package ecosystems (GitHub Actions, devcontainers, npm, pip, gomod, and nuget) under a single schedule.

Changes:

  • Adds a multi-ecosystem-groups configuration with a weekly schedule
  • Removes individual schedule blocks from each package ecosystem configuration
  • Adds multi-ecosystem-group: 'all' references to all seven package ecosystem entries
Comments suppressed due to low confidence (1)

.github/dependabot.yaml:5

  • The multi-ecosystem-groups feature appears to use incorrect syntax. According to GitHub's Dependabot configuration schema, the correct top-level key is groups (not multi-ecosystem-groups), and individual package ecosystems should reference groups using the groups field (not multi-ecosystem-group).

The schedule should be defined at the individual update level, not at the group level. Groups in Dependabot are used to bundle dependency updates together in a single PR, but schedules must still be defined per package ecosystem.

Please verify this configuration against the official Dependabot documentation. The intended behavior (consolidating updates to reduce PR volume) might require using dependency groups differently than shown here.

multi-ecosystem-groups:
  all:
    schedule:
      interval: 'weekly'

Comment on lines 7 to +31
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'weekly'
multi-ecosystem-group: 'all'
- package-ecosystem: 'devcontainers'
directory: '/'
schedule:
interval: 'weekly'
multi-ecosystem-group: 'all'
# Node.js dependencies
- package-ecosystem: 'npm'
directory: '/nodejs'
schedule:
interval: 'weekly'
multi-ecosystem-group: 'all'
- package-ecosystem: 'npm'
directory: '/test/harness'
schedule:
interval: 'weekly'
multi-ecosystem-group: 'all'
# Python dependencies
- package-ecosystem: 'pip'
directory: '/python'
schedule:
interval: 'weekly'
multi-ecosystem-group: 'all'
# Go dependencies
- package-ecosystem: 'gomod'
directory: '/go'
schedule:
interval: 'weekly'
multi-ecosystem-group: 'all'
# .NET dependencies
- package-ecosystem: 'nuget'
directory: '/dotnet'
schedule:
interval: 'weekly'
multi-ecosystem-group: 'all'
Copy link

Copilot AI Feb 25, 2026

Choose a reason for hiding this comment

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

The removal of individual schedule configurations from each package ecosystem combined with the use of multi-ecosystem-group: 'all' may not work as intended. Each package ecosystem entry in Dependabot typically requires its own schedule configuration. Without individual schedules, Dependabot may not know when to check for updates for these ecosystems.

If the goal is to group updates together to reduce the number of PRs, consider using the groups feature properly (with schedules still defined per ecosystem) or explore other Dependabot configuration options like open-pull-requests-limit.

This issue also appears on line 2 of the same file.

See below for a potential fix:

    multi-ecosystem-group: 'all'
    schedule:
      interval: 'weekly'
  - package-ecosystem: 'devcontainers'
    directory: '/'
    multi-ecosystem-group: 'all'
    schedule:
      interval: 'weekly'
  # Node.js dependencies
  - package-ecosystem: 'npm'
    directory: '/nodejs'
    multi-ecosystem-group: 'all'
    schedule:
      interval: 'weekly'
  - package-ecosystem: 'npm'
    directory: '/test/harness'
    multi-ecosystem-group: 'all'
    schedule:
      interval: 'weekly'
  # Python dependencies
  - package-ecosystem: 'pip'
    directory: '/python'
    multi-ecosystem-group: 'all'
    schedule:
      interval: 'weekly'
  # Go dependencies
  - package-ecosystem: 'gomod'
    directory: '/go'
    multi-ecosystem-group: 'all'
    schedule:
      interval: 'weekly'
  # .NET dependencies
  - package-ecosystem: 'nuget'
    directory: '/dotnet'
    multi-ecosystem-group: 'all'
    schedule:
      interval: 'weekly'

Copilot uses AI. Check for mistakes.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

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