You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Overhaul SDK dispatch for versioned OAS files (dry-run) (#180)
* Add versioned-sdk-dispatch.yml (dry-run mode)
New workflow that detects changes to versioned OAS files (openapi/v*.yml)
on PR merge, builds api_versions list, reads version label (minor/patch),
and dispatches to opted-in SDK repos only.
Currently in DRY RUN mode — logs what it would send without dispatching.
Includes workflow_dispatch for manual runs with version/api_versions inputs.
Only mx-platform-node opted in initially.
* Deprecate update.yml — rename to update.yml.bak
Old workflow dispatched to all 6 SDK repos on any mx_platform_api.yml change.
Replaced by versioned-sdk-dispatch.yml which detects versioned OAS files and
dispatches only to opted-in repos. Kept as .bak for reference.
* Update version.yml — enforce labels on versioned OAS files
Changed-files check now includes openapi/v*.yml in addition to
mx_platform_api.yml. PRs that modify versioned OAS files now require
a minor or patch label before merge.
* Update sdk-generation-validation.yml — use versioned OAS files
Replaced static mx_platform_api.yml reference with dynamic discovery of
changed versioned OAS files (openapi/v*.yml). Uses a discover job to build
a matrix from changed files, then cross-products with the language matrix.
Only runs generation validation for OAS files actually modified in the PR.
---------
Co-authored-by: Genevieve Nuebel <genevieve.nuebel@mx.com>
0 commit comments