View as Markdown

Parallel Scopes

Merge unrelated pull requests in parallel by grouping them into scopes based on the files they touch.


  • Merge Queue

Parallel Scopes lets the merge queue test and merge pull requests simultaneously when they affect different parts of your codebase. Define scopes through file patterns or your existing monorepo build system (Nx, Bazel, Turborepo), and Mergify will run an independent queue for each scope — while still serializing pull requests that share a scope to catch real conflicts. This dramatically reduces merge latency in monorepos where most changes are independent. Enable it by setting mode: parallel on your merge queue and declaring your scopes in the configuration.

See the Parallel Scopes documentation for details.

Was this page helpful?