joeblew999/.github
The fleet's shared mise task library, plus the Claude plugin marketplace and
org config. Every capability is a mise task, pulled into a repo by reference
(?ref=vX — never copied), and run the same on your machine and in CI.
The core idea: mise run ci is your whole CI. It runs on your OS locally and on
the ubuntu + macOS + windows matrix on push — the same task. Green locally means
green in CI for that OS.
- This file is the source of truth, for humans and agents.
AGENTS.md /
CLAUDE.md just point here.
- Canonical consumer & safety net: .github-example
pins
@main and exercises the full feature set (Rust + docker + binary/image publish).
Every change here must go green on its three-OS matrix before you tag a release — it's
the only proof a change won't break consumers. (§ Developing this repo has the procedure.)
- History: CHANGELOG.md (git-cliff generated).
Quickstart — add it to a repo
Point mise.toml at the task files you need and list your CI tasks:
# mise.toml
[task_config]
includes = [
"git::https://github.com/joeblew999/.github.git//tasks/mise.toml?ref=v0.69.0",
"git::https://github.com/joeblew999/.github.git//tasks/ci.toml?ref=v0.69.0",
]
[tasks.ci]
depends = ["rust:test"] # your build/test tasks — THIS LIST is your CI
Pin explicitly; bump with one command. Every include (and the workflow @ref) pins
a concrete tag — explicit and greppable. To upgrade, don't hand-edit each line: run
mise run ci:audit-lib-refs --write, which rewrites every ?ref= / @ref across
mise.toml and .github/workflows/ to the latest tag in one shot (the weekly
reusable-mise-upgrade PR runs it for you). Rolling ?ref=main pins are left alone.
Then, once:
mise trust # load the config + includes
mise run mise:global:bootstrap # seed machine tools (nu, gh, git-cliff…) — once per machine
mise run mise:repo:bootstrap # generate .github/workflows/ (the CI stubs)
mise run ci # verify — the same task CI runs
That's the whole adoption. Two includes and a depends list is the minimum; add a
tool-* include and a task only for a feature you actually want (Rust, docker,
releases). Copy nothing — the .github-example
shows every feature, but it's a showcase to keep them CI-tested, not a template to
clone.
Onboarding an existing repo? Run mise run ci:doctor — it audits the repo and
prints exactly what it needs to conform (missing tasks/mise.toml/ci.toml
includes, hand-rolled CI to swap for the reusable workflow, stale action versions,
Rust not pinned via rust-toolchain.toml). --strict fails on any gap.
Rust? Pin it in rust-toolchain.toml (rustup), never in mise — ci:check-global
enforces this. Agents/skills? claude plugin marketplace add joeblew999/.github and
install fleet.
How CI works
One task, two places, identically:
| run it with… | where | OS coverage |
|---|
mise run ci | your machine | your OS — instant, while you work |
git push | GitHub Actions | the full matrix (ubuntu + macOS + windows) |
The generated .github/workflows/mise.yml does nothing but run that same
mise run ci. Always run it locally first — pushing untested is the only thing
that breaks CI.
The lever is [tasks.ci].depends. It lists what mise run ci runs. The shared
library also runs its guards (ci:check-global, ci:check-nu); add
your own tasks and they run alongside — locally and on the matrix. Add a task to check
it, remove it to stop. Set nothing and you still get the guards on all three OSes,
green out of the box; nothing compiles until you add it.
All CI config lives in mise.toml. You never hand-edit the generated workflow, and
re-bootstrap preserves your settings (bootstrap reads [env], projects it into the
workflow, and never writes mise.toml).
Knob ([env] unless noted) | Controls | Default | Applies |
|---|
[tasks.ci].depends | what ci runs | guards only | immediately |
DOCKER_BUILD | docker local vs remote | auto (where a linux daemon exists) | immediately |
CI_OS_MATRIX | which OSes CI verifies on | all 3 | re-bootstrap |
CI_TASK · CI_RUST_CACHE | CI task name · Rust build cache | ci · true | re-bootstrap |
CI_RELEASE | publish binaries on a git tag | off | re-bootstrap |
CI_RELEASE_OS_MATRIX | which OSes publish | ubuntu + macOS | re-bootstrap |
CI_DOCKER_IMAGE | also push a GHCR image on a tag | off | re-bootstrap |
CI_DOCKERFILE · CI_DOCKER_CONTEXT · CI_DOCKER_PLATFORMS | docker build inputs | Dockerfile · . · linux/amd64 | immediately |
CI_BUILD_TASK | build task for publish | dist | re-bootstrap |