Installing no-mistakes ​
Upstream's install script fetches the release GitHub marks latest, and upstream marks releases after v1.84.0 as prereleases, so the script installs a release orc refuses. To install v1.100.2 instead:
- Pick the archive for your machine:
no-mistakes-v1.100.2-darwin-arm64.tar.gz,no-mistakes-v1.100.2-darwin-amd64.tar.gz,no-mistakes-v1.100.2-linux-arm64.tar.gzorno-mistakes-v1.100.2-linux-amd64.tar.gz. - Run
mkdir -p ~/.local/binto make the folder it goes in. - Run
curl -fsSL https://github.com/kunchenguid/no-mistakes/releases/download/v1.100.2/ARCHIVE | tar xz -C ~/.local/bin no-mistakes, with the archive in place ofARCHIVE. - Put
~/.local/binon your PATH. - Run
no-mistakes --versionto check it.
no-mistakes prints no-mistakes version v1.100.2.
no-mistakes reviews with its own agent, which agent in ~/.no-mistakes/config.yaml names. Its daemon finds that agent on the PATH your login shell sets, not the PATH of the shell that runs orc. With agent: auto it takes the first agent it finds, so to review with Pi:
- Set
agent: piin~/.no-mistakes/config.yaml. - Put the folder holding
pion the PATH in your login shell profile, such as~/.zprofile. - Run
no-mistakes daemon restart.
no-mistakes opens the PR only for an origin on a provider it supports, such as GitHub. For another origin it pushes the branch and skips the pr and ci steps, and orc's result names that skip and its reason.