Skip to content

CI

The repository's workflows run on the organisation's runners. Every job asks for boxd-public by name, and a pull request from a fork waits for approval before it runs there. The workflows call the reusable workflows in we-the-rebel-alliance/.github, pinned to the commit that was reviewed; Release covers the third.

ci.yml, on every pull request, every push to master and the merge queue

Job Runs Proves
plugin reusable-plugin-ci.yml on boxd-public, with install: true lint, typecheck, the committed bundle, the tests, plugin-kit check, the generated docs, the docs site build, actionlint and the OpenCode install
pack npm ci --ignore-scripts, then npm run test:pack the packed tarball carries the right files, and its ./server entry loads as a plugin
ci compares the two the required check: it passes only when plugin and pack both passed

The calling job is plugin, not ci: a called workflow's checks report as <caller> / <callee> (plugin / check, plugin / ci), and the organisation's ruleset requires a check named exactly ci, which the aggregate job carries. ci carries if: always() and compares the result of each job it needs, so a failed or skipped job fails the required check instead of skipping it green.

The reusable check rebuilds dist/ and fails when git diff --exit-code dist/ finds the committed bundle stale. A Git install builds nothing, so the committed bundle is what a host runs.

docs.yml, on a push to master and on a manual run

The pages job calls reusable-docs-publish.yml with runner: boxd-public, and grants pages: write and id-token: write. The called workflow's deploy job runs only from a push to master, so a manual run from another branch builds the site and stops. The site is at https://we-the-rebel-alliance.github.io/tavily-plugin/.

Locally

The same commands CI runs:

npm ci --ignore-scripts
npm run check

python3 -m venv .cache/docs-venv
.cache/docs-venv/bin/pip install -r docs/requirements.txt
.cache/docs-venv/bin/mkdocs build --strict

package-lock.json resolves plugin-contract over git+https, so a local checkout needs no SSH key and no URL rewrite.