• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / mcp / 45831098826
98%

Build:
DEFAULT BRANCH: main
Ran 26 Nov 2026 01:41PM UTC
Jobs 1
Files 50
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Nov 2026 01:38PM UTC coverage: 98.266%. Remained the same
45831098826

push

github

web-flow
ci: auto-open and auto-approve management API types sync PRs (#627)

Auto-opens the Management API types sync PR whenever `Check Management
API Types` fails, and auto-approves + auto-merges it once `Tests` pass.
Follows the same `supabase-oss` pattern team CLI uses in
[bot-pr-auto-merge.yml](https://github.com/supabase/cli/blob/develop/.github/workflows/bot-pr-auto-merge.yml)
and
[CODEOWNERS](https://github.com/supabase/cli/blob/develop/.github/CODEOWNERS).

- Triggers `sync-management-api-types.yml` on failed `Check Management
API Types` `workflow_run` completions, serialized with a
`sync-management-api-types` concurrency group. Existing
`chore/regenerate-management-api-types` PRs are updated in place (or
skipped as a no-op if unchanged).
- Adds `@supabase-oss` alongside `@supabase/ai` in `.github/CODEOWNERS`
only for the two generated `types.ts` files (`management-api/types.ts`
and `management-api-v2/types.ts`).
- Adds `auto-approve-management-api-types.yml`, triggered on `Tests`
`workflow_run` success in `main`'s context (never checks out PR code).
Validates same repo, `main` target, non-draft, `supabase-releaser[bot]`,
exact `HEAD` SHA, and 1–2 `modified` files strictly within those two
`types.ts` paths before approving via `AUTO_APPROVE_PR_PAT` and
enabling/executing squash auto-merge.

```mermaid
flowchart TD
    T1["PR fails Check Management API Types"] --> SYNC
    T2["Daily cron 06:00 UTC"] --> SYNC
    T3["Manual workflow_dispatch"] --> SYNC

    SYNC["sync-management-api-types.yml\n(runs on main, serialized by concurrency)"] --> OPEN{"PR already open on\nchore/regenerate-management-api-types?"}

    OPEN -->|No| PR["Opens PR as supabase-releaser[bot]"]
    OPEN -->|Yes, same spec diff| NOOP["Clean no-op\n(no push, no duplicate PR)"]
    OPEN -->|Yes, newer spec diff| PR2["Force-pushes updated commit\nto existing PR in place"]

    PR --> CI1["Code Quality (biome.yml)\nrequired on main"]
    PR --> CI2["Tests (tests.yml)\nbuild + typ... (continued)

1413 of 1474 branches covered (95.86%)

Branch coverage included in aggregate %.

6636 of 6717 relevant lines covered (98.79%)

2335.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 45831098826.1 26 Nov 2026 01:41PM UTC 50
98.27
GitHub Action Run
Source Files on build 45831098826
  • Tree
  • List 50
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #45831098826
  • 7f84b80a on github
  • Prev Build on main (#45815243434)
  • Next Build on main (#45831340815)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc