Skip to content

Workflow patterns

Practical patterns for building real-world KiCI workflows in TypeScript. The patterns are organised across five pages — start with Basic CI if you’re new, or jump to Integrations if you’re wiring up a non-GitHub forge or a generic webhook.

PageCovers
Basic CISingle-job CI, PR-only / push-only filters, multiple triggers on one workflow, manual-only workflows.
Conditionals & matrixConditional execution with rules, matrix builds (static + dynamic), and dynamic job generation.
IntegrationsWorkflow chaining, generic webhooks, Stripe handlers, self-hosted git forges (Forgejo / Gitea / Gogs), plain GitHub repo webhooks (no GitHub App).
Scheduling & eventsNightly cron, workflow-complete-triggered deploys, custom event chaining.
Pattern referenceStep context, the examples repository, and GitHub check run output — cross-cutting reference shared by every pattern above.