Skip to main content
This example demonstrates Fliiq’s webhook triggers, safety gates, and multi-repo coordination — a release pipeline that Fliiq uses to manage its own releases. When code lands on main, Fliiq bumps the version, runs tests, publishes to PyPI, syncs public repos, and sends a Telegram summary.

The Setup

The Fliiq team wanted fully automated releases triggered by git push. They told Fliiq:

What Fliiq Created

The agent called create_job with a webhook trigger:

How It Works — A Real Release

Run 1: Safety Gate Catches Lint Errors

A developer pushes a commit bumping the default Anthropic model. The webhook fires and Fliiq starts the pipeline:
  1. Version bump: 1.7.21.7.3 (patch — dependency update)
  2. pytest: 517 passed — gate cleared
  3. ruff: 61 errors found — pipeline halted
Fliiq refused to publish and sent this Telegram message:
Duration: 73 seconds. The pipeline analyzed commits, bumped the version, ran the full test suite, caught the lint issues, and delivered a detailed failure report — all automatically.

Run 2: Clean Release

The lint errors are fixed and pushed. The webhook fires again:
  1. Version bump: Already at 1.7.3 — no change needed
  2. Safety gates: Both passed
    • pytest: 517 passed, 6 warnings
    • ruff: 0 errors
  3. PyPI: Published → https://pypi.org/project/fliiq/1.7.3/
  4. Public repo: README synced, CHANGELOG updated with v1.7.2 and v1.7.3 entries
  5. Docs: Skipped — no user-facing feature changes
  6. Telegram: Summary sent
Duration: 2 minutes. Version analysis, full test suite, package build, PyPI upload, cross-repo sync, and Telegram notification — zero human intervention.

Adapting for Your Projects

The release pipeline pattern works for any project. Here’s a minimal version:
Or a manual trigger you run when you’re ready to release:

Managing the Pipeline

The Key Insight

Traditional CI/CD pipelines are rigid — a fixed sequence of shell commands that either pass or fail. Fliiq’s release pipeline is intelligent: it analyzes commit content to decide the version bump, determines whether docs need updating, and when something fails, it doesn’t just exit with code 1 — it diagnoses the problem, suggests fixes, and delivers an actionable report. The safety gate pattern is critical: the pipeline has the authority to build and publish, but mandatory checks prevent it from shipping broken code. Trust but verify. This is the same pipeline Fliiq uses to release itself. Every version on PyPI was published by this job.