feat: bootstrap setup-cli composite action#1
Merged
Conversation
Install the Mergify CLI (mergify-cli) with version pinning and Renovate autoupdate, extracted from gha-mergify-ci's install steps. - action.yml: setup-python -> setup-uv -> uv tool install mergify-cli (pinned default, `latest`/empty supported), exposes the resolved installed version as the `mergify_cli_version` output (read from `uv tool list`, since `mergify --version` may print a placeholder). - renovate.json: config:best-practices + chore semantic commits, pypi minimumReleaseAge for mergify-cli, custom managers that bump the `# renovate:` default in action.yml and keep the README inputs table and the self-referenced `@vN` usage example in sync. - generate-doc.py/.sh: auto-generate the README inputs table from action.yml; CI fails if it drifts. - ci.yaml: actionlint + yamllint + semgrep, autodoc sync check, and a dogfood job that runs `./` (pinned and `latest`) and asserts the output + `mergify --version`. - release.yml, .yamllint.yml mirrored from gha-mergify-ci. Fixes MRGFY-7628 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bootstraps
Mergifyio/setup-cli(MRGFY-7628, Phase 1): a composite action that installs the Mergify CLI with version pinning + Renovate autoupdate, extracted fromgha-mergify-ci's install steps.What's in it
action.yml:setup-python→setup-uv→uv tool install mergify-cliwith the same pinned-default /latest/ empty logic as gha-mergify-ci. Inputs:mergify_cli_version(default2026.6.8.1,# renovate:anchored),python_version(default3.14). Outputmergify_cli_version= the resolved installed version, read fromuv tool list(notmergify --version, which can print a placeholder while versioning goes Rust-native).renovate.json: mirrors gha-mergify-ci. Custom managers bump theaction.ymldefault, sync the README inputs table, and bump the self-referenced@vNexample.minimumReleaseAge: 0rule for our own major.generate-doc.py/.sh: regenerate the README inputs table fromaction.yml; CI fails on drift.ci.yaml: actionlint + yamllint + semgrep, autodoc sync check, and a dogfood job that runs./(pinned andlatest) and asserts the output +mergify --version.all-greensgate viare-actors/alls-green.release.yml,.yamllint.yml: mirrored.Landing notes
This repo has no Mergify app / merge queue yet, so the usual
mergify stack pushflow does not apply. Normal flow: review → merge → I cutv1.0.0+ the movingv1alias + a GitHub release so consumers canuses: Mergifyio/setup-cli@v1.Kept as a draft for your review before undrafting / cutting v1.
Fixes MRGFY-7628
🤖 Generated with Claude Code