You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(env): install mergify-cli from prebuilt binaries (#4)
Replace the uv + Python install path with the upstream prebuilt-binary
installer (install.sh), dropping the Python/uv dependency from agents.
install.sh is fetched from the same git ref as the requested release so
the script and the release assets always agree on the asset-naming
convention, which changed between releases (2026.6.15.1 ships unversioned
assets, 2026.6.16.1 versioned ones). "latest" uses main and lets
install.sh resolve the newest tag itself.
- hooks/environment: curl install.sh | sh, exporting MERGIFY_VERSION and
MERGIFY_INSTALL_DIR; default bumped to 2026.6.16.1 (>= 2026.6.15.1
required for prebuilt binaries).
- plugin.yml: drop the now-meaningless python_version; require tar.
- renovate.json: track GitHub releases instead of PyPI.
- README + tests updated accordingly.
mergify_cli_version keeps working (pinned version or "latest").
Fixes MRGFY-7661
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -179,8 +179,7 @@ steps:
179
179
| `mergify_api_url` | no | `https://api.mergify.com` | Mergify API endpoint |
180
180
| `job_name` | no | Step label | Override job name (useful for matrix builds) |
181
181
| `mergify_config_path` | no | — | Path to `.mergify.yml` configuration file |
182
-
| `mergify_cli_version` | no | pinned default | Version of `mergify-cli` to install. Leave unset to use the plugin's pinned default (kept current by Renovate, see `hooks/environment`), pin an exact release (e.g. `2026.5.29.2`), or use `latest` to always install the newest released version. |
183
-
| `python_version` | no | `3.13` | Python version for `mergify-cli`. Uses `uv` to download it if needed. Set to `system` to use the agent's system Python. |
182
+
| `mergify_cli_version` | no | pinned default | Version of `mergify-cli` to install. Leave unset to use the plugin's pinned default (kept current by Renovate, see `hooks/environment`), pin an exact release (e.g. `2026.6.16.1`, must be `>= 2026.6.15.1`), or use `latest` to always install the newest released version. |
184
183
185
184
## Meta-data
186
185
@@ -199,8 +198,13 @@ The `mergify-cli` writes Buildkite annotations (context: `mergify-ci-scopes`) sh
199
198
200
199
## Requirements
201
200
202
-
- Python 3.x on the Buildkite agent
203
-
- `curl`(for installing `uv`)
201
+
`mergify-cli`is installed as a prebuilt binary (no Python required), downloaded
202
+
and checksum-verified by the upstream [`install.sh`](https://github.com/Mergifyio/mergify-cli/blob/main/install.sh).
203
+
Supported platforms: Linux (x86_64, aarch64) and macOS (x86_64, aarch64).
204
+
205
+
- `curl`(to download the installer and the binary)
206
+
- `tar`(to extract the binary)
207
+
- `sha256sum`or `shasum` (to verify the binary checksum)
0 commit comments