Skip to content

ci: trigger template version sync on openui-templates after publish - #954

Open
AbhinRustagi wants to merge 1 commit into
chore/remove-bundled-templatesfrom
ci/template-version-bot
Open

ci: trigger template version sync on openui-templates after publish#954
AbhinRustagi wants to merge 1 commit into
chore/remove-bundled-templatesfrom
ci/template-version-bot

Conversation

@AbhinRustagi

@AbhinRustagi AbhinRustagi commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Part 3 of 3, stacked on #953.

  • After "Publish NPM packages" succeeds, sends a repository_dispatch (package-published) to openui-templates with the publish commit SHA
  • The sync itself lives in openui-templates (ci: receive publish events from openui and open version-bump PRs openui-templates#6): it checks out this repo pinned to that SHA and reads versions from packages/*/package.json — the repo is the source of truth, not npm's laggy registry metadata
  • Needs the TEMPLATES_REPO_TOKEN secret; scope shrinks to Contents: read/write on openui-templates (just enough to send the dispatch)

@vercel

vercel Bot commented Aug 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openui-docs Error Error Aug 12, 2026 7:42pm

Request Review

Sends a repository_dispatch with the publish commit SHA; openui-templates
does the sync against this repo's package versions and opens the bump PR
there.
@AbhinRustagi
AbhinRustagi force-pushed the ci/template-version-bot branch from 935e93c to 927235b Compare August 12, 2026 19:42
@AbhinRustagi AbhinRustagi changed the title ci: open version-bump PRs on openui-templates after package publish ci: trigger template version sync on openui-templates after publish Aug 12, 2026
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