Enhances fork detection by implementing more precise repository comparison logic
and adds comprehensive debugging output to troubleshoot permission issues.
Changes null-safe comparisons to prevent false positives when repository
information is undefined, ensuring the workflow only skips comment creation
for actual cross-repository forks rather than same-repository scenarios.
Adds fork detection to skip comment operations when running from external repositories, preventing 403 permission errors.
Implements early exit when pull request or workflow run originates from a fork, and wraps comment operations in try-catch to handle remaining permission issues gracefully by logging build status instead.
Changed logic to use the settings component to store the changed values
rather than referencing storage directly
Deleted an unused file
Signed-off-by: Lance Chant <13349722+lancechant@users.noreply.github.com>
Enhances the artifact comment workflow to better handle cancelled workflow runs by checking individual job statuses instead of dismissing entire workflows.
Previously, workflows marked as cancelled at the top level were completely ignored, even if some jobs within them were still running or completed successfully.
Now prioritizes active jobs over cancelled ones and validates that at least one job is actually running before processing a workflow run, preventing false negatives while still filtering out truly cancelled workflows.
Enhances artifact comment workflow to provide more accurate build status reporting by tracking individual job statuses within consolidated workflows rather than using workflow-level status.
Excludes cancelled workflow runs from consideration and prioritizes active runs over completed ones when determining build status.
Maps specific job names to build targets (Android Phone, Android TV, iOS Phone) to provide granular status information for each platform and device combination.
Improves artifact collection logic to gather artifacts when any job completes successfully, not just when entire workflow completes.
Replaces nightly.link with direct GitHub artifact URLs for better reliability.
Adds handling for cancelled builds and edge cases where workflows complete
but artifacts aren't immediately available or conclusions are pending.
Improves status messages to provide more detailed information for
unexpected build states.
Restructures the GitHub Actions workflow to better handle consolidated vs separate build workflows.
Changes the artifact collection to trigger on workflow completion rather than just success, improving visibility of failed builds.
Adds explicit fallback logic for backward compatibility with separate Android and iOS workflows.
Introduces artifact pattern matching for more reliable build target identification and adds special handling to disable iOS TV builds.
Enhances debugging output to show which workflow type is being used and lists all discovered artifacts.
Merges separate Android and iOS build workflows into a single "Build Apps" workflow to reduce duplication and simplify maintenance.
Updates the artifact comment workflow to handle both the new unified workflow and legacy separate workflows for backward compatibility during transition.
Removes redundant workflow files while preserving all existing functionality.
Replaces the repository_dispatch event system with workflow_run triggers to improve reliability and reduce complexity. The new approach automatically detects PR associations through commit SHA lookups rather than requiring manual payload construction.
Removes redundant notification steps from build workflows and simplifies the concurrency group logic. Enhances manual testing support with improved PR discovery fallbacks.