Skip to content

baselinerRepository governance, as code.

Renovate, but for repository governance. One static binary scans your whole fleet against a configurable policy, scores every repo 0–1, and reports compliance — ad hoc, in CI, or continuously from a control repo.

baseliner logo — a teal octagon with two dots, a checkmark, and a baseline bar

Make your implicit baseline explicit

Every org has an unwritten standard — "all our repos should have a README, a LICENSE, CI, branch protection…". baseliner turns that implicit baseline into something explicit (policy-as-code), measurable (scored), and monitored (drift detection). It's security-and-governance plumbing for your fleet, not a linter for your code.

Neighbors place it quickly: OSSF Scorecard is security-specific with a fixed check set; GitHub rulesets are GitHub-native with limited check types and no fleet scoring. baseliner's niche is configurable-baseline-first + fleet + scored + control-repo.

Install

bash
curl -fsSL https://raw.githubusercontent.com/baselinerhq/baseliner/main/scripts/install.sh | bash
bash
brew install baselinerhq/tap/baseliner
bash
go install github.com/baselinerhq/baseliner/cmd/baseliner@latest

The install script drops a statically-linked binary into ~/.local/bin — no runtime required. See Install for prebuilt archives and version pinning.

Scan in two steps

yaml
# baseliner.yaml — a minimal local policy
scope:
  local:
    paths:
      - .
policy:
  base: default
bash
# score every repo and print a console summary
baseliner scan --config baseliner.yaml --format table

# gate CI on a fleet-wide score threshold
baseliner scan --config baseliner.yaml --fail-under 0.8

Ten built-in checks ship in the default policy out of the box. Point policy.base at your own YAML to choose which checks run, at what severity. See Policies for the schema and scoring model, and the Roadmap for where baseliner is headed — SARIF, a Marketplace Action, a full declarative policy engine, and auto-remediation fix-PRs.

Released under the MIT License.