[CI] Enforce conventional commits (convco) + pin release tooling (mise)#356
Merged
Conversation
Deploying capsule with
|
| Latest commit: |
2291b6b
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://95b1beb9.capsule-22k.pages.dev |
| Branch Preview URL: | https://ci-convco-mise.capsule-22k.pages.dev |
This was referenced Jun 11, 2026
1cedadb to
2291b6b
Compare
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.
Description
First PR in the release-automation stack for #18. Establishes conventional-commit enforcement everywhere and centralizes the release/commit toolchain in
mise, so version syncing and CHANGELOG generation (later PRs) have a machine-readable history to build on.What's added
mise.toml(root) — pins the repo-wide release toolchain so local and CI install identical versions:just,lefthook, andconvco(via theubi:backend; it isn't in the mise registry). The Apple client'scapsule-swift/mise.tomllayers on top..versionrc— convco config (auto-discovered).preMajor: truefor 0.x semantics, plus changelog section mapping for the commit types already in use. Drivesconvco check/version/changelog.justfile— two recipes (justfile stays the SSoT for hooks + CI):commit-check <msg_file>— validates a single in-progress message (convco check --from-stdin --strip); skips tooling-authored merge/revert/fixup/squash subjects.check-commits [base]— validates a range (convco check --first-parent --ignore-reverts <base>..HEAD).lefthook.yml— newcommit-msghook (just commit-check) and a priority-0pre-pushrange check (just check-commits).ci.yml— newcommit-lintjob (PRs only) that runsconvco checkover the PR's commits viamise-action, wired into the aggregatedrequiredgate (skipped on push → counts as pass).Setup for contributors: run
mise installat the repo root (installs convco/just/lefthook) — thecommit-msghook needsconvcoonPATH. Noted in themise.tomlheader.Verification (local)
mise install→convco 0.6.4.commit-msghook exercised by this PR's own commit: conventional message passes; a non-conventional message is rejected;Merge …subjects are skipped.just check-commits master→ "no errors in 1 commit".pre-pushrancheck-commitson push (see branch).lefthook validate→ All good;ci.yml/.versionrc/mise.tomlparse.Related Issues
Part of #18 (stack 1/3).
Contributor Checklist