Skip to content

ci: merge SDK compliance workflows into one reusable workflow - #33

Merged
grdsdev merged 1 commit into
mainfrom
claude/nice-poincare-3e349f
Jun 19, 2026
Merged

grdsdev merged 1 commit into
mainfrom
claude/nice-poincare-3e349f

Conversation

@grdsdev

@grdsdev grdsdev commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Merges check-api-compliance.yml into validate-sdk-compliance.yml so SDK repos only need to call a single reusable workflow
  • Renames the workflow to SDK Compliance (reusable)
  • Renames file input to compliance-file for consistency with the merged workflow's naming
  • Makes language required (was already required in check-api-compliance.yml)
  • Adds sdk-ref input to the validate job (previously only available in check-api-compliance.yml)

Calling the merged workflow

Before (two separate calls):

uses: supabase/sdk/.github/workflows/validate-sdk-compliance.yml@main
with:
  file: sdk-compliance.yaml

uses: supabase/sdk/.github/workflows/check-api-compliance.yml@main
with:
  compliance-file: sdk-compliance.yaml
  language: swift

After (one call):

uses: supabase/sdk/.github/workflows/validate-sdk-compliance.yml@main
with:
  compliance-file: sdk-compliance.yaml
  language: swift

Reviewer notes

  • SDK repos calling the old validate-sdk-compliance.yml with the file input need to rename it to compliance-file
  • SDK repos calling check-api-compliance.yml need to switch to validate-sdk-compliance.yml

…gle reusable workflow

SDK repos now call one workflow instead of two. The merged workflow runs
both the compliance file validation and the public API symbol check jobs.
The `language` input is required; `compliance-file` replaces the old `file`
input; `sdk-ref` is now also honoured by the validate job.
@grdsdev
grdsdev requested review from a team as code owners June 18, 2026 17:05
@grdsdev
grdsdev merged commit ef5dead into main Jun 19, 2026
@grdsdev
grdsdev deleted the claude/nice-poincare-3e349f branch June 19, 2026 07:47
grdsdev added a commit that referenced this pull request Jun 19, 2026
- Document `symbols` field in sdk-compliance.yaml format (added in #31)
- Update opt-in workflow example with required `language` input
- Expand opt-in section to describe both CI checks (compliance + public API)
- Add `validate:online` to local dev command table
- Update CI table: validate-capabilities.yml now runs nightly with two tiers;
  validate-sdk-compliance.yml now includes the public API check (merged from #33)
- Add 7 new source files to CLAUDE.md architecture section:
  ts-parser, swift-parser, parse-ts, parse-swift, parse-ignore, api-check, check-api-symbols
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants