Skip to content

CI

Every check runs on the organisation's own runners: the boxd-public scale set for this public repository. No job uses a GitHub-hosted runner, and every action is pinned by commit.

The required check

ci is the one required check, and it fails closed. The docs job builds the site and the check job runs the code gate; ci needs both, runs with if: always(), and fails unless each one succeeded. A failed or skipped job therefore fails ci, instead of skipping it green.

Job Runs
docs mkdocs build --strict with the pinned requirements in docs/requirements.txt
check the whole gate: lint, typecheck, the bundle and the committed-dist freshness check, the tests, conformance, docs drift and the forbidden scan
ci the aggregate required check; it fails unless both docs and check succeeded

The gate is the same one a person runs locally with npm ci --ignore-scripts && npm run check; see Testing.

The other workflows

  • release runs on a tag v*. It checks that the tag names package.json's version, runs the gate, packs the tarball with the conformance report and SHA256SUMS, checks the files against the sums, and creates the GitHub Release. See Release.
  • docs runs on a push to master. It builds the site strictly and publishes it to GitHub Pages. The deploy job carries its own condition, so a manual run from another branch builds and stops. The master turns Pages on; until then the site is not served.

Pull requests

A pull request from a fork waits for approval before its jobs run. CI checks master and every pull request; it never pushes to a branch.