GitHub Actions Workflows π‘ BETA
GitHub Actions mirrors the repository checks that the self-hosted Forgejo runner also executes.
Workflows
.github/workflows/ contains the build, release, security and desktop workflows. ci.yml is the pull-request gate; release.yml builds the desktop installers from version tags.
Workflow map
| Workflow | Purpose |
|---|---|
ci.yml |
Guards, i18n, security, Windows adapters, mobile checks, docs publish |
security.yml |
Supply chain, OSV, secrets, Python, SBOM, workflow lint, headers |
codeql.yml |
Static analysis |
release.yml |
Desktop packaging and self-extractor on version tags |
desktop-macos.yml |
Unsigned macOS arm64 artifact |
gbgov-release.yml, gbgov-windows.yml |
Government edition artifacts |
advisory-draft.yml, bulletin-mirror.yml |
Advisory feed maintenance |
Jobs in ci.yml
| Job | Gate |
|---|---|
security |
Security gates on changed paths |
changes |
Detect migrations and BotBook changes |
i18n |
Locale catalogue gate |
windows |
Windows agent/VM adapters |
guard |
Structural adequacy, error ratchet, CSS and design-system gates |
docs-publish |
Publish BotBook on main |
Conventions
Each job checks out the repository, uses the shared Cargo cache, and reports a single clear failure. The runner is Ubuntu on GitHub and alm-ci with the ubuntu-latest label on Forgejo.
Shape of a test job in ci.yml (abridged)
- Checkout the repository.
- Install the platform dependency (for example libpq on Windows).
- Restore the Cargo cache.
- Run the named check or test.
- Upload evidence on failure.
Why --bin botserver matters
botserver is a binary crate with no library target. cargo test -p botserver tests nothing; CI uses cargo test -p botserver --bin botserver.
Limits
- CI is authoritative for builds; local release builds are not supported outside packaging.
- Pull requests never publish BotBook β only pushes to
maindo. - Boteval runs on CI only and is never re-run locally for verification.
- No secret is stored in a workflow file; publishing uses repository secrets as environment variables.