Skip to content

fix: update dependabot config for workspace support and meaningful groups#10135

Merged
timotheeguerin merged 5 commits into
mainfrom
copilot/fix-dependabot-config
Mar 25, 2026
Merged

fix: update dependabot config for workspace support and meaningful groups#10135
timotheeguerin merged 5 commits into
mainfrom
copilot/fix-dependabot-config

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 25, 2026

Problem

The dependabot configuration had an allow filter that restricted npm dependency updates to only @alloy-js/* packages, preventing dependabot from creating PRs for any other workspace dependencies. Additionally, GitHub Actions had no dependency monitoring.

Changes

Key fix

  • Removed the allow filter that blocked all non-alloy-js updates, enabling dependabot to create PRs for the full pnpm workspace.

Dependency groups for main workspace (18 groups)

Groups related dependencies to batch updates into single PRs instead of individual ones:

Group Packages ~Count
alloy @alloy-js/* 7
types @types/* 20+
testing vitest, playwright, testing-library, mocha, happy-dom, c8 10+
linting eslint, typescript-eslint, cspell 8+
build-tools esbuild, vite, typescript, tsx, rollup 8+
website astro, docsearch, rehype, remark, typedoc, sharp 12+
ui react, fluentui, storybook, prism-react-renderer 12+
vscode VS Code extension packages 7
formatting prettier and plugins 4
microsoft API extractor, tsdoc 5
chronus @chronus/* 2
tree-sitter all tree-sitter parsers 6
octokit GitHub API packages 3
azure Azure SDK packages 2
yarnpkg Yarn packages 5
babel Babel packages 2
scalar Scalar OpenAPI packages 3
monaco Monaco editor packages 2

New dependency monitoring

  • GitHub Actions — monitors action version updates across all workflows, grouped into a single PR. Excludes locked workflow files (*.lock.{yaml,yml}).

Schedule optimization

  • Changed main workspace npm check from daily to weekly to reduce noise.

⌨️ Start Copilot coding agent tasks without leaving your editor — available in VS Code, Visual Studio, JetBrains IDEs and Eclipse.

…oups

Remove restrictive allow filter that blocked all non-alloy-js updates.
Add 17 semantic dependency groups to reduce PR volume.
Add entries for excluded packages (http-client-csharp/java/python).
Add GitHub Actions version monitoring.
Change workspace npm schedule from daily to weekly.

Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/typespec/sessions/43d419ff-678d-4a6a-b9c9-d0b347583d13
Comment thread .github/dependabot.yml Outdated
Keep only the core pnpm workspace npm entry and GitHub Actions.
Remove separate entries for http-client-csharp, http-client-java,
and http-client-python.

Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/typespec/sessions/564e43af-a39b-4228-b2f6-24c4d7e588a0
Copy link
Copy Markdown
Contributor

@mikeharder mikeharder left a comment

Choose a reason for hiding this comment

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

LGTM

Comment thread .github/dependabot.yml
Comment thread .github/dependabot.yml
Comment thread .github/dependabot.yml
Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/typespec/sessions/6f8d96b3-67de-4a21-9772-d03e20c7e684
@github-actions
Copy link
Copy Markdown
Contributor

No changes needing a change description found.

@azure-sdk
Copy link
Copy Markdown
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@timotheeguerin timotheeguerin added this pull request to the merge queue Mar 25, 2026
Merged via the queue into main with commit ab18e58 Mar 25, 2026
24 checks passed
@timotheeguerin timotheeguerin deleted the copilot/fix-dependabot-config branch March 25, 2026 19:25
msyyc pushed a commit that referenced this pull request Apr 1, 2026
…oups (#10135)

## Problem

The dependabot configuration had an `allow` filter that restricted npm
dependency updates to only `@alloy-js/*` packages, preventing dependabot
from creating PRs for any other workspace dependencies. Additionally,
GitHub Actions had no dependency monitoring.

## Changes

### Key fix
- **Removed the `allow` filter** that blocked all non-alloy-js updates,
enabling dependabot to create PRs for the full pnpm workspace.

### Dependency groups for main workspace (18 groups)
Groups related dependencies to batch updates into single PRs instead of
individual ones:

| Group | Packages | ~Count |
|-------|----------|--------|
| alloy | `@alloy-js/*` | 7 |
| types | `@types/*` | 20+ |
| testing | vitest, playwright, testing-library, mocha, happy-dom, c8 |
10+ |
| linting | eslint, typescript-eslint, cspell | 8+ |
| build-tools | esbuild, vite, typescript, tsx, rollup | 8+ |
| website | astro, docsearch, rehype, remark, typedoc, sharp | 12+ |
| ui | react, fluentui, storybook, prism-react-renderer | 12+ |
| vscode | VS Code extension packages | 7 |
| formatting | prettier and plugins | 4 |
| microsoft | API extractor, tsdoc | 5 |
| chronus | `@chronus/*` | 2 |
| tree-sitter | all tree-sitter parsers | 6 |
| octokit | GitHub API packages | 3 |
| azure | Azure SDK packages | 2 |
| yarnpkg | Yarn packages | 5 |
| babel | Babel packages | 2 |
| scalar | Scalar OpenAPI packages | 3 |
| monaco | Monaco editor packages | 2 |

### New dependency monitoring
- **GitHub Actions** — monitors action version updates across all
workflows, grouped into a single PR. Excludes locked workflow files
(`*.lock.{yaml,yml}`).

### Schedule optimization
- Changed main workspace npm check from **daily** to **weekly** to
reduce noise.

<!-- START COPILOT CODING AGENT TIPS -->
---

⌨️ Start Copilot coding agent tasks without leaving your editor —
available in [VS Code](https://gh.io/cca-vs-code-docs), [Visual
Studio](https://gh.io/cca-visual-studio-docs), [JetBrains
IDEs](https://gh.io/cca-jetbrains-docs) and
[Eclipse](https://gh.io/cca-eclipse-docs).

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
Co-authored-by: Timothee Guerin <tiguerin@microsoft.com>
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.

5 participants