Skip to content

Group Dependabot security updates - #523

Merged
Vladimir Morozov (vmoroz) merged 1 commit into
microsoft:mainfrom
vmoroz:PR/dependabot-security-grouping
Dec 3, 2026
Merged

Vladimir Morozov (vmoroz) merged 1 commit into
microsoft:mainfrom
vmoroz:PR/dependabot-security-grouping

Conversation

@vmoroz

@vmoroz Vladimir Morozov (vmoroz) commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

Dependabot groups apply only to version updates unless they set applies-to: security-updates, so security updates here arrive as one PR per package. All npm security PRs so far came from the /docs site (for example #501 and #503), which has no Dependabot entry.

Group npm /docs security updates: adds an npm entry for /docs with a security-updates group. It sets open-pull-requests-limit: 0, which GitHub documents as making an entry apply to security updates only, so /docs gets no version-update PRs. Labels and versioning stay at Dependabot's defaults, as today.

Group GitHub Actions security updates: adds the same security-updates group to the existing GitHub Actions entry. Its version-update group, schedule, and cooldown are unchanged.

This follows microsoft/react-native-windows#16661, whose grouped security PR microsoft/react-native-windows#16683 shows the result. One consequence: a single /docs fix is now titled "Bump the security-updates group ..." instead of naming the package; the package and versions are listed in the PR body.

Validated against the Dependabot configuration schema; GitHub validates the config once it is on main, and grouping shows on the next security update after merge.

Groups default to version updates, so security updates open one PR per package. Security-updates groups (applies-to: security-updates) batch them into one PR for GitHub Actions and for the npm /docs project. The /docs entry sets open-pull-requests-limit to 0, so it applies to security updates only and starts no version updates.
Copilot AI balanced review requested due to automatic review settings December 2, 2026 00:39

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

No active review issues are recorded for the Dependabot security-update grouping changes.

No open issues 🎉

What changed in this PR

Groups Dependabot security updates for the documentation site's npm dependencies and GitHub Actions to reduce separate update PRs.

Changes:

  • Adds security-update groups for npm /docs and GitHub Actions.
  • Disables /docs version-update PRs while preserving existing GitHub Actions version-update settings.
File Description
.github/​dependabot.yml Adds security-update grouping and a security-only npm entry for /docs.

Review effort: Balanced

@vmoroz
Vladimir Morozov (vmoroz) merged commit 84c8265 into microsoft:main Dec 3, 2026
17 checks passed
@vmoroz
Vladimir Morozov (vmoroz) deleted the PR/dependabot-security-grouping branch December 3, 2026 00:06
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.

3 participants