From 47d10294854a891ccda35013d5ea0ca2a3abbfe9 Mon Sep 17 00:00:00 2001 From: Tieu Long Date: Sun, 22 Mar 2026 09:12:31 +0700 Subject: [PATCH] fix: correct preflight comment to reflect actual intent --- .github/workflows/build-macos-image.yml | 11 ++++++----- .github/workflows/build-recovery.yml | 11 ++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-macos-image.yml b/.github/workflows/build-macos-image.yml index 3cfc6ac..207244d 100644 --- a/.github/workflows/build-macos-image.yml +++ b/.github/workflows/build-macos-image.yml @@ -47,9 +47,10 @@ jobs: exit 0 fi - # Most users arrive directly at the Actions tab without reading the README - # This reduces unnecessary forks from users who haven't checked the - # prebuilt images in the Recent Forks list (Releases tab). + # Most users arrive directly at the Actions tab without reading the README, + # missing the prebuilt images in the Releases tab. Requiring a star (step 1 + # of the README) reduces redundant builds — and runner costs — for images + # that may already exist in a recent forks list. FOUND=false PAGE=1 while [ $PAGE -le 50 ]; do @@ -65,9 +66,9 @@ jobs: if [ "$FOUND" = "false" ]; then echo "## Before you build — check if someone already did it for you :point_down:" >> $GITHUB_STEP_SUMMARY echo "" >> $GITHUB_STEP_SUMMARY - echo "Browse the **[Recent Forks List](https://github.com/LongQT-sea/macos-iso-builder/releases)** — someone may have already built the macOS version you need." >> $GITHUB_STEP_SUMMARY + echo "Browse the **[Recent Forks List](https://github.com/LongQT-sea/mkmaciso/releases/latest)** — someone may have already built the macOS version you need." >> $GITHUB_STEP_SUMMARY echo "" >> $GITHUB_STEP_SUMMARY - echo "If you still need to build your own, star the repo first — that's step 1 in the [README](https://github.com/LongQT-sea/macos-iso-builder#how-to-use). :star:" >> $GITHUB_STEP_SUMMARY + echo "If you still need to build your own, star [the repo](https://github.com/LongQT-sea/mkmaciso) first — that's step 1 in the [README](https://github.com/LongQT-sea/macos-iso-builder#how-to-use). :star:" >> $GITHUB_STEP_SUMMARY echo "
![star](https://raw.githubusercontent.com/LongQT-sea/macos-iso-builder/main/.github/star.jpg)" >> $GITHUB_STEP_SUMMARY exit 1 fi diff --git a/.github/workflows/build-recovery.yml b/.github/workflows/build-recovery.yml index f934fd3..a9ad029 100644 --- a/.github/workflows/build-recovery.yml +++ b/.github/workflows/build-recovery.yml @@ -39,9 +39,10 @@ jobs: exit 0 fi - # Most users arrive directly at the Actions tab without reading the README - # This reduces unnecessary forks from users who haven't checked the - # prebuilt images in the Recent Forks list (Releases tab). + # Most users arrive directly at the Actions tab without reading the README, + # missing the prebuilt images in the Releases tab. Requiring a star (step 1 + # of the README) reduces redundant builds — and runner costs — for images + # that may already exist in a recent forks list. FOUND=false PAGE=1 while [ $PAGE -le 50 ]; do @@ -57,9 +58,9 @@ jobs: if [ "$FOUND" = "false" ]; then echo "## Before you build — check if someone already did it for you :point_down:" >> $GITHUB_STEP_SUMMARY echo "" >> $GITHUB_STEP_SUMMARY - echo "Browse the **[Recent Forks List](https://github.com/LongQT-sea/macos-iso-builder/releases)** — someone may have already built the macOS version you need." >> $GITHUB_STEP_SUMMARY + echo "Browse the **[Recent Forks List](https://github.com/LongQT-sea/mkmaciso/releases/latest)** — someone may have already built the macOS version you need." >> $GITHUB_STEP_SUMMARY echo "" >> $GITHUB_STEP_SUMMARY - echo "If you still need to build your own, star the repo first — that's step 1 in the [README](https://github.com/LongQT-sea/macos-iso-builder#how-to-use). :star:" >> $GITHUB_STEP_SUMMARY + echo "If you still need to build your own, star [the repo](https://github.com/LongQT-sea/mkmaciso) first — that's step 1 in the [README](https://github.com/LongQT-sea/macos-iso-builder#how-to-use). :star:" >> $GITHUB_STEP_SUMMARY echo "
![star](https://raw.githubusercontent.com/LongQT-sea/macos-iso-builder/main/.github/star.jpg)" >> $GITHUB_STEP_SUMMARY exit 1 fi