Mergify CLI is a command-line interface tool designed to automate the creation and management of stacked pull requests on GitHub. It also handles CI results upload and integrates with various GitHub workflows. The library maintains a rapid release cadence, often daily or weekly, with frequent updates and new features, currently at version 2026.4.14.1.
pip install mergify-cliNo compatibility data collected yet for this library.
The Mergify CLI is primarily used as a command-line tool. The quickstart guides you through installation, initial setup (including GitHub token configuration), and common `stack` commands like `push` and `status`. Run `mergify setup` interactively for the easiest initial configuration.
Review your CI/CD pipelines and scripts that relied on this specific command. If you were using it for rebasing stacks in GitHub Actions, you might need to adapt your workflow to use other `mergify stack` commands or native Git operations.
Any automation or scripts that used `mergify reviews` will no longer function. Check release notes for alternative functionality or implement review management through other means.
Update scripts or muscle memory to use `mergify stack checkout <stack-name>` instead of previous invocation patterns. For example, `mergify stack checkout feature-branch`.
This issue was fixed in version `2026.3.13.1`. Ensure you are on the latest version of `mergify-cli` to prevent this behavior. If on an older version, carefully review your stack names before pushing.
Run `pip install mergify-cli`. If it's already installed, ensure your PATH environment variable includes the directory where pip installs executables (e.g., `~/.local/bin` on Linux/macOS or `Scripts` folder in Python install on Windows).
Run `mergify setup` interactively to configure your GitHub token, or set the `MERGIFY_TOKEN` environment variable manually (e.g., `export MERGIFY_TOKEN='ghp_YOUR_TOKEN'`). Ensure the token has sufficient scopes (e.g., `repo`, `workflow`).
The `reviews` command was removed in version `2026.3.11.1`. Consult the latest documentation or release notes for available commands. Do not use this command in new scripts or try to remove it from existing ones.
Verify the correct name of the stack. Use `mergify stack status` to list active stacks or `git branch` to see local branches. Ensure you are in the correct repository.
No dependency data recorded yet.