Skip to content

feat: add auto-generate models workflow#10

Open
nearlyforget wants to merge 7 commits intoUniversal-Commerce-Protocol:mainfrom
nearlyforget:setup-auto-gen
Open

feat: add auto-generate models workflow#10
nearlyforget wants to merge 7 commits intoUniversal-Commerce-Protocol:mainfrom
nearlyforget:setup-auto-gen

Conversation

@nearlyforget
Copy link
Contributor

Description

This PR adds the release automation workflow and aligns the generation script with the current UCP schema structure.

Changes:

  • Added .github/workflows/auto-generate.yml to listen for spec-release events.
  • Fixed generate_models.sh to match consolidated schema files (e.g., buyer_consent.json instead of create_req/update_req).
  • Updated definition keys in generate_models.sh to use dev.ucp.shopping.checkout.
  • Automated version bumping in package.json and PR creation.

Motivation:
The previous generation script was pointing to legacy schema files. This PR restores functionality and enables automated updates from the main UCP repository.

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • Any dependent changes have been merged and published in downstream modules

@nearlyforget nearlyforget marked this pull request as ready for review February 19, 2026 03:24
@nearlyforget nearlyforget requested a review from a team February 19, 2026 03:24
@nearlyforget nearlyforget requested a review from a team as a code owner March 1, 2026 01:11
@nearlyforget nearlyforget requested review from damaz91 and wry-ry March 6, 2026 05:14
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.

1 participant