Merge Protections

Merge Protections

Protect your merges

Protect your merges

Protect your merges

Advanced merge protection rules and scheduling for total control over your repository.

- name: 🧑‍🚒 Hotfix Review Requirements

if:

- label = hotfix

success_conditions:
- or:
- "#approved-reviews-by >= 2"

- approved-reviews-by = @eng-mgr

- body ~= (Fix|Related).* (INC|ENGINE)-

- name: 🧑‍🚒 Hotfix Review Requirements

if:

- label = hotfix

success_conditions:
- or:
- "#approved-reviews-by >= 2"

- approved-reviews-by = @eng-mgr

- body ~= (Fix|Related).* (INC|ENGINE)-

- name: 🧑‍🚒 Hotfix Review Requirements

if:

- label = hotfix

success_conditions:
- or:
- "#approved-reviews-by >= 2"

- approved-reviews-by = @eng-mgr

- body ~= (Fix|Related).* (INC|ENGINE)-

Avoid poor code quality and bugs with proper merge criteria

Customizable Merge Rules

Customizable Merge Rules

Leverage the power of customizable rules to define exactly what makes a pull request mergeable.

Leverage the power of customizable rules to define exactly what makes a pull request mergeable.

Tailored merge rules

Tailored merge rules

Tailored merge rules

Whether you want to enforce Conventional Commits, require specific labels, respect schedules, or check for certain metadata, you can tailor rules to your unique workflow.

YAML configuration

YAML configuration

YAML configuration

With an intuitive YAML configuration file stored directly in your repository, your merge rules are versioned, transparent, and easily understood by your entire team.

Early on, as the team, tests, and CI complexity grew, it was quite clear that we needed an automated tool to resolve bottlenecks. Our team loves the way Mergify solved our growing pains.

Tomasz Biernacki

Quality Assurance Engineer at Pitch

Don't merge whenever.
Take control over when merges happen.

Intelligent Scheduling and Freeze Periods

Intelligent Scheduling and Freeze Periods

Take control of when merges happen with Merge Protections' advanced scheduling features.

Take control of when merges happen with Merge Protections' advanced scheduling features.

Weekly merge schedule

Weekly merge schedule

Weekly merge schedule

Set specific days of the week or hours of the day when merges are allowed, ensuring that your team is merging at the most optimal times.

Freeze periods

Freeze periods

Freeze periods

Block merges during critical periods or national holidays. Define freeze periods that automatically prevent merges, giving you peace of mind during important events.

Exception control

Exception control

Exception control

Allow for urgent fixes. Configure exceptions to bypass the freeze and keep your workflow moving.

Manage your pull requests dependencies.

Do not merge your pull requests out of order

Do not merge your pull requests out of order

Take control of when merges happen with Merge Protections' dependencies handling.

Take control of when merges happen with Merge Protections' dependencies handling.

Tag dependent pull requests

Tag dependent pull requests

Tag dependent pull requests

Describe your pull requests dependencies directly from their body, ensuring no code is merged before its need are fulfilled.

Cross-repositories change management

Cross-repositories change management

Cross-repositories change management

Do not feel obliged to use a monorepo: handle multiple pull requests across multiple repositories.

Streamline your CI workflow

Streamline your CI workflow

Streamline your CI workflow

Streamline your CI workflow