Release Process¶
Releases are automated with release-please and GitHub Actions.
How Releases Work¶
- release-please runs on pushes to
main(workflow:.github/workflows/release-please.yml) and opens/updates a release PR based on Conventional Commits. - The release PR updates:
docs/changelog.mdpyproject.toml(version bump).release-please-manifest.json(current released version)- Merging the release PR creates a Git tag (format
vX.Y.Z) and GitHub Release. - Docker images and the Helm chart are security-gated, built, signed, and published by
.github/workflows/publish.yml, a reusable workflow that wraps the sharedrknightion/.githubcontainer-publish.ymlworkflow.release-please.ymlcalls it two ways, gated byrelease_createdso only one runs per push: release_created == true: thedocker-releasejob callspublish.ymlwith the new release tag, publishing the versioned image and Helm chart.release_created != true(an ordinary push tomain): theedgejob callspublish.ymlwith no tag, publishing a:mainedge image and a0.0.0-main.*snapshot Helm chart.
Before any image reaches GHCR, publication-scoped CodeQL rejects HIGH/CRITICAL findings, the committed Trivy exception file is validated, and each native OCI archive is scanned for HIGH/CRITICAL vulnerabilities. Only the exact scanned architecture digests proceed to manifest creation, signing, provenance, SBOM generation, and Helm publication.
Images go to ghcr.io/<owner>/<repo> with semver, branch, and PR tags; the chart is published to ghcr.io/<owner>/charts/<chart-name>. See Security for how to verify image signatures.
Manual Trigger¶
You can also run the Release Please workflow manually from GitHub Actions (workflow_dispatch) to open or refresh the release PR.
Notes¶
- The changelog used by release-please lives at
docs/changelog.md. - Configuration lives in
release-please-config.json; the manifest with the current version is.release-please-manifest.json. - Tags use
include-v-in-tag: true(e.g.v0.29.0). - Conventional Commit types
feat,fix,perf,refactor,deps, anddocsproduce visible changelog sections;chore,ci, andtestare hidden. - Avoid manual version edits; use the release-please flow to keep tags and changelog consistent.
Local and CI verification¶
just check is the local source-tree gate and exactly what the CI test job enforces: ruff format check, ruff lint, mypy, generated-path drift, offline API-model conformance, and the marker-filtered test suite with the 80% coverage floor. Run it before committing Python or documentation changes.
CI deliberately covers additional checks that are not part of just check:
- actionlint for workflow syntax and semantics;
- Helm lint plus a rendered-manifest kubeconform validation;
- Docker image build and startup smoke tests, including the non-root runtime assertion and HTTP endpoint checks;
- zizmor, actionlint, and dependency review, which are independently required by the
mainruleset alongsideci-success; and - the separate CodeQL, Docker-security, and Scorecard workflows.
Codecov and Codacy uploads are best-effort reporting. A provider outage does not replace or fail the repository-owned 80% pytest coverage floor enforced by just check.
CI does not currently run git diff --check; use it locally when reviewing a patch that may have whitespace errors. just check intentionally remains a source-tree gate rather than a substitute for the container, chart, or security workflow suites. just ci adds the Docker-backed CI legs when Docker and container-structure-test are available locally.