mergify-merge-protections
Installation
SKILL.md
Mergify Merge Protections
Merge protections control when PRs are allowed to merge:
| Protection | Scope | How |
|---|---|---|
| Depends-On | Per-PR dependency chain | Depends-On: header in PR body |
| Merge-After | Per-PR time gate | Merge-After: header in PR body |
| Scheduled Freezes | Repository-wide or conditional | CLI commands (mergify freeze) |
Depends-On and Merge-After are built-in — just add the header to the PR description (or commit message body when using mergify stack push) and Mergify enforces them automatically, no .mergify.yml configuration needed. Freezes are managed via CLI commands.
Depends-On
Block a PR from merging until one or more other PRs are merged first.
Syntax
Add one or more Depends-On: lines to the PR body: