Skip to content

ci: group Dependabot updates into one PR per ecosystem - #56

Merged
framinosona merged 3 commits into
mainfrom
framinosona/dependabot-groups
Sep 8, 2026
Merged

framinosona merged 3 commits into
mainfrom
framinosona/dependabot-groups

Conversation

@framinosona

Copy link
Copy Markdown
Member

Groups github-actions and nuget updates each under a wildcard group so routine bumps land as one PR per ecosystem instead of one per package. Directly motivated by #52 today — a single dependency bump opening its own PR.

Each nuget/github-actions bump was opening its own PR, which meant a
handful of separate one-line-diff PRs to review per repo every week.
Groups everything under one wildcard group per ecosystem so routine
bumps land as a single PR.
Copilot AI lite review requested due to automatic review settings September 8, 2026 15:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

The ignore section’s YAML indentation is invalid as written, which can prevent Dependabot from applying the FluentAssertions major-version ignore rule (or from parsing the config correctly).

Pull request overview

This PR updates the repository’s Dependabot configuration to reduce routine dependency noise by grouping updates into one PR per ecosystem (GitHub Actions and NuGet), aligning with the motivation described from #52.

Changes:

  • Adds a wildcard Dependabot update group for the github-actions ecosystem.
  • Adds a wildcard Dependabot update group for the nuget ecosystem.
File summaries
File Description
.github/dependabot.yml Adds wildcard update grouping for GitHub Actions and NuGet to consolidate Dependabot PRs.
Review details

Suppressed comments (1)

.github/dependabot.yml:28

  • ignore is currently not a valid YAML sequence value because the list item (- dependency-name) is aligned with ignore: instead of being indented under it. This likely causes Dependabot to ignore the ignore-rule (and potentially fail parsing), which is especially important here because the comment indicates major FluentAssertions bumps must be blocked.
          - "*"
    ignore:
    - dependency-name: "FluentAssertions" # Ignore major-version updates FluentAssertions from version 8 and above
      versions: [ ">= 8.0.0" ] # because FluentAssertions requires a paid license for corporate use
      update-types: [ "version-update:semver-major" ]
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

github-actions Bot commented Sep 8, 2026 •

Copy link
Copy Markdown

Test Results

476 tests  ±0   476 ✅ ±0   3s ⏱️ -1s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit d9836f5. ± Comparison against base commit 05847b8.

♻️ This comment has been updated with latest results.

Copilot review flagged the pre-existing same-level indentation as invalid (it isn't - block sequences may align with their parent key per the YAML spec, and Dependabot has parsed this file correctly in production for months). Reindenting anyway to the more conventional nested style to stop the false-positive flag on review.
Copilot AI review requested due to automatic review settings September 8, 2026 15:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The Dependabot grouping configuration is valid and aligns with the stated goal of reducing one-PR-per-package churn without altering existing ignore behavior.

Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Copilot correctly flagged that grouping everything under a bare "*"
pattern would also bundle major-version bumps in with routine
minor/patch ones, turning a safe grouping into a potentially breaking
mega-PR. Restricting each group to minor/patch keeps majors opening
their own individual PR (still worth reviewing on their own), while
the actual routine noise (the common case) gets grouped.
Copilot AI review requested due to automatic review settings September 8, 2026 15:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The Dependabot YAML is valid and the grouping behavior matches the stated goal while preserving the existing FluentAssertions major-version ignore rule.

Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@framinosona
framinosona merged commit b9099c3 into main Sep 8, 2026
14 checks passed
@framinosona
framinosona deleted the framinosona/dependabot-groups branch September 9, 2026 00:56
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