mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-10 15:40:24 +00:00
## Summary Dispatch a `frontend-asset-build` event to the cloud repo when the `preview` label is added to a PR, so cloud can build preview assets. ## Changes - **What**: Extended `cloud-dispatch-build.yaml` to trigger on `pull_request` `labeled` events filtered to the `preview` label. The payload sends the PR head SHA and branch. ## Review Focus - The `pull_request` trigger gives a read-only `GITHUB_TOKEN`, but the dispatch step uses `CLOUD_DISPATCH_TOKEN` so this is fine. - Fork PRs are blocked by the existing `github.repository` guard. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-9518-feat-dispatch-cloud-build-when-preview-label-is-added-to-PR-31c6d73d365081a8aab6f585960977f6) by [Unito](https://www.unito.io)
2.0 KiB
2.0 KiB