Skip to content

Remove samples-old and group Dependabot updates - #1361

Merged
Vladimir Morozov (vmoroz) merged 2 commits into
mainfrom
users/vmoroz/remove-samples-old-dependabot
Oct 23, 2026
Merged

Vladimir Morozov (vmoroz) merged 2 commits into
mainfrom
users/vmoroz/remove-samples-old-dependabot

Conversation

@vmoroz

@vmoroz Vladimir Morozov (vmoroz) commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Description

Why

This repo has 85 open Dependabot PRs, each bumping one package in one project. About 30 of them are for the legacy samples-old folder, which CI doesn't build. The Dependabot config groups no npm updates, and two of its three npm and NuGet entries point at /samples/, which has no manifest.

This follows the approach used in microsoft/react-native-winrt#303 and microsoft/react-native-winrt#312.

What

Remove samples-old

  • Deletes the legacy samples. CI doesn't build them, and their only recent changes are Dependabot bumps.
  • Links to these samples in docs and the versioned website docs now point at the last commit that has them, so they keep working.

Dependabot configuration

  • Replaces the three npm and NuGet entries with one npm entry. Its **/* glob covers every project folder, so adding or removing a sample needs no config change.
  • Groups all version updates into one PR and all security updates into another. It updates lockfiles only, runs weekly with an 8-day cooldown, and skips major versions.
  • Skips react-native-windows, because samples move to new versions through the CI Upgrade workflow.
  • The NuGet entry matched no project and is removed. The GitHub Actions entry is unchanged.

Testing

The new dependabot.yml passes schema validation, and the website spellcheck passes on the changed docs.

Screenshots

N/A

Microsoft Reviewers: Open in CodeFlow

The legacy samples are not built by CI and only receive Dependabot
security bumps. Docs links to them now point at the last commit that
contains the folder, so they keep working.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Cover every npm project with one glob entry, group version and security
updates, update lockfiles only, run weekly with a cooldown, and skip
major and react-native-windows updates. Drop the npm and NuGet /samples/
entries that matched no manifest.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@vmoroz
Vladimir Morozov (vmoroz) merged commit 2e3e6bf into main Oct 23, 2026
14 checks passed
@vmoroz
Vladimir Morozov (vmoroz) deleted the users/vmoroz/remove-samples-old-dependabot branch October 23, 2026 04:03
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