Skip to content

Group Go security updates in Dependabot - #287

Open
kaovilai wants to merge 1 commit into
migtools:oadp-devfrom
kaovilai:dependabot-group-security-updates
Open

kaovilai wants to merge 1 commit into
migtools:oadp-devfrom
kaovilai:dependabot-group-security-updates

Conversation

@kaovilai

@kaovilai kaovilai commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Summary

Adds a minimal .github/dependabot.yml for gomod with one group for version updates and one for security updates.

Dependabot version-update groups do not apply to security updates, so each vulnerable dependency opens its own PR (e.g. several open at once). A group with applies-to: security-updates collapses them into one PR.

Testing

Config-only change. Dependabot validates the file on merge and surfaces errors under Insights > Dependency graph > Dependabot.

Note

Responses generated with Claude (model: Claude Sonnet 5.5)

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Added weekly automated updates for Go packages. Routine updates and security updates are now grouped separately.

Dependabot security updates are not covered by version-update groups, so each
vulnerable dependency opens its own PR. Add a group with
applies-to: security-updates so they arrive as a single PR.

Signed-off-by: Tiger Kaovilai <passawit.kaovilai@gmail.com>
Copilot AI balanced review requested due to automatic review settings October 23, 2026 22:23
@openshift-ci
openshift-ci Bot requested review from Joeavaikath and mpryc October 23, 2026 22:23
@openshift-ci

openshift-ci Bot commented Oct 23, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kaovilai

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@coderabbitai

coderabbitai Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e04dd3b1-16f6-4e92-bd36-b4ecb7aa38fa
📥 Commits

Reviewing files that changed from the base of the PR and between 19daccf and f748849.

📒 Files selected for processing: 1
  • .github/dependabot.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📝 Walkthrough

Adds weekly Dependabot updates for Go modules in the repository root. Groups regular dependency updates and security updates separately.

Changes: Go dependency updates

Layer / File(s) Summary
Dependabot update groups
.github/dependabot.yml
Configures weekly updates for Go modules in /. Groups all Go dependencies under go-dependencies and security updates under go-security.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to f7488

The configuration is limited to grouping weekly Go dependency and security updates, with no identified merge-blocking issue.

Pre-merge checks: Passed 5
Check name Status Explanation
Description check Passed The description explains why the Dependabot configuration is needed and how to verify the config-only change. It uses different headings from the template, but it provides the required information.
Title check Passed The title clearly and concisely describes the main change: grouping Go security updates in Dependabot.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches: 💡 1
🛠️ Fix failing CI checks: 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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 minimal configuration correctly separates version and security update grouping, with no blocking issues identified.

No open issues 🎉

What changed in this PR

Adds Dependabot configuration for the root Go module, grouping security updates separately from routine version updates to reduce individual dependency PRs.

Changes:

  • Schedules weekly Go module version updates in one group.
  • Defines a separate group for all Go module security updates.
File Description
.github/​dependabot.yml Configures weekly Go updates and separate version and security update groups.

Review effort: Balanced

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.

2 participants