Skip to content

Phase 3: CI/CD packaging — reusable GitHub Action + notifications #2

Description

@ToryMic

Goal

Make SchemaLock trivially adoptable as a CI step for any Wave-funded repo, without hand-rolling the install + run steps in every backend's own workflow.

Scope

  • Publish a reusable composite GitHub Action (BreachDirect/schemalock-action or an action.yml in this repo) so consumers write:
    - uses: BreachDirect/schemalock@v1
      with:
        config: schemalock.yaml
        base-url: http://localhost:8000
  • PR status check integration (annotate failing endpoints as PR check annotations, not just log output).
  • Slack/Discord/webhook notification on failure, configurable via CLI flag or config.
  • Badge generation (pass/fail SVG badge for README).

Why

Phase 1 requires each consuming repo to install SchemaLock and wire up its own CI steps by hand (as this repo's own .github/workflows/ci.yml demonstrates). A packaged Action removes that boilerplate for every Wave backend adopting it.

Acceptance criteria

  • A separate demo repo can run SchemaLock as a single uses: step with no manual Python setup.
  • Failing checks show up as inline PR annotations, not just raw log text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    drips-waveStellar Wave Program — Drips issueenhancementNew feature or requestmediumWorth 150 Points (Base + 50 Complexity Bonus)phase-3

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions