CI¶
Every check runs on the organisation's own runners. A public repository asks for boxd-public; no job asks for a GitHub-hosted runner.
The check¶
.github/workflows/ci.yml has three jobs:
| Job | Runs on | Does |
|---|---|---|
check | boxd-public | Installs the tools, lints the workflows, runs npm run check, proves a Git install of the pushed commit, and proves the committed dist/ and generated files are current. |
docs | boxd-public | Creates a virtual environment, installs docs/requirements.txt and runs mkdocs build --strict. |
ci | boxd-public | Needs check and docs; it fails when either fails. |
ci is the one required check on the default branch. It is a small aggregator on purpose: a single check that needs every job cannot pass while a job it needs has failed.
Actions are pinned by commit, and the workflows are linted with actionlint before the build.
The documentation site¶
A push to master runs .github/workflows/docs.yml, which builds the site with the same pinned requirements and publishes it to GitHub Pages. A manual run builds the site and never deploys: only a push to master publishes. Pull requests build the site in the docs job but publish nothing.
The site is at https://we-the-rebel-alliance.github.io/charts-plugin/. mkdocs.yml names the site, the Material theme, the plugins, the Markdown extensions and the navigation; docs/requirements.txt pins every requirement with ==.
A release¶
A tag on master runs .github/workflows/release.yml, which repeats the check on the tagged commit and publishes the GitHub Release. Release describes the files it carries.