Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/content/docs/merge-queue/scopes/bazel.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,18 @@ description: Configure merge queue scopes using Bazel's dependency graph for pre
---

import ScopesDetection from '~/components/ScopesDetection.astro';
import Youtube from '~/components/Youtube.astro';

If you're using monorepo tools like Bazel that have built-in dependency graph analysis,
you can use their affected project detection instead of file patterns.
This approach is often more accurate because these tools understand your project's
dependency relationships.

Here's the whole setup running on a Bazel monorepo, from the `bazel query` step in CI to
several packages testing in their own lanes at once:

<Youtube video="oJmidhu0AIA" title="Parallel merge queues for Bazel monorepos" />

## Configuring Manual Scopes

To use the manual scopes mechanism, configure Mergify to expect scopes from your CI system:
Expand Down