Replaces the workflow_run trigger mechanism with repository_dispatch events to enable real-time build status communication between build workflows and the artifact comment system.
Build workflows now actively notify the comment workflow when builds start, complete, or fail, providing immediate status updates rather than polling for completed workflows.
Adds real-time payload processing to display current build status and target information in PR comments, improving visibility into ongoing build processes.
BREAKING CHANGE: Changes the trigger mechanism from workflow_run to repository_dispatch, requiring build workflows to explicitly send status notifications.
Enhances the artifact comment workflow by switching from tracking all build runs to focusing on the most recent run per workflow type (Android/iOS).
Changes include:
- Increases pagination limit to capture more workflow runs
- Sorts runs by creation time to identify latest builds
- Simplifies status tracking by workflow platform rather than individual runs
- Adds detailed logging for debugging build statuses
- Improves error handling for artifact collection
- Fixes emoji rendering issue in status display
Reduces complexity while ensuring accurate status reporting for the latest builds.
Restructures the artifact comment workflow to display build progress in real-time with individual platform/device status tracking.
Changes the status table from workflow-based to target-based (Android Phone/TV, iOS Phone/TV) with dedicated status indicators and download links that update as builds complete.
Improves user experience by showing pending builds with appropriate messaging instead of waiting for all builds to finish before displaying any information.
Fixes incorrect variable reference in artifact comment generation that was using undefined `runId` instead of the proper `context.runId` from the GitHub Actions context.
Also adds descriptive job name for better workflow visibility.
Enables the workflow to run directly on pull request events (opened, synchronize, reopened) in addition to the existing workflow_run and manual dispatch triggers.
Provides immediate status updates in PR checks and improves user experience by showing workflow progress directly in the pull request interface rather than only after completion of upstream workflows.
Fixes workflow trigger condition by explicitly checking for workflow_run event type to prevent unintended executions.
Improves artifact collection reliability by switching to the correct API method and increasing page size to capture more artifacts from multiple builds.
Removes redundant artifact fetching logic that was duplicating collection efforts.
Improves the artifact comment workflow to provide better visibility into ongoing builds by:
- Triggering comments when builds start (requested event) instead of only on completion
- Using commit SHA for concurrency grouping to better handle multiple builds for the same commit
- Collecting artifacts from all recent build workflows for a PR rather than just the current run
- Adding a build status table showing progress of Android and iOS workflows
- Displaying progressive status updates even when builds are still in progress
- Enabling cancel-in-progress to prevent redundant workflow runs
This provides users with immediate feedback on build progress and comprehensive artifact availability across all platforms.