diff --git a/.github/workflows/build_loop_auto.yml b/.github/workflows/build_loop_auto.yml index b371b01523..5d2d647be3 100644 --- a/.github/workflows/build_loop_auto.yml +++ b/.github/workflows/build_loop_auto.yml @@ -148,6 +148,30 @@ jobs: echo "is_second_instance=false" >> "$GITHUB_OUTPUT" fi + # When a scheduled run finds nothing new to build, cancel the run so it shows + # as "cancelled" instead of "success" — a green check should always mean a + # new build was made. + cancel_when_no_build: + needs: check_status + name: Cancel run when there is nothing to build + runs-on: ubuntu-latest + permissions: + actions: write + if: | + github.event_name == 'schedule' && + !(vars.SCHEDULED_BUILD != 'false' && needs.check_status.outputs.IS_SECOND_IN_MONTH == 'true') && + !(vars.SCHEDULED_SYNC != 'false' && needs.check_status.outputs.NEW_COMMITS == 'true') + steps: + - name: Cancel the run + env: + GH_TOKEN: ${{ github.token }} + run: | + echo "Repository is up to date and no monthly build is due — cancelling this run so it is not reported as a successful build." >> "$GITHUB_STEP_SUMMARY" + gh run cancel ${{ github.run_id }} --repo ${{ github.repository }} + # Keep the job alive until the cancellation lands, so the run ends as + # "cancelled" rather than completing successfully first. + sleep 300 + # Checks if Distribution certificate is present and valid, optionally nukes and # creates new certs if the repository variable ENABLE_NUKE_CERTS == 'true' # only run if a build is planned diff --git a/CGMBLEKit b/CGMBLEKit index edd8fb232e..c9e6c841f1 160000 --- a/CGMBLEKit +++ b/CGMBLEKit @@ -1 +1 @@ -Subproject commit edd8fb232e18a09a6c162b489172ea9d381d7bb6 +Subproject commit c9e6c841f1f20452a30f3ce45120a998401a49b6 diff --git a/EversenseKit b/EversenseKit index 7d0789322b..66979665bc 160000 --- a/EversenseKit +++ b/EversenseKit @@ -1 +1 @@ -Subproject commit 7d0789322b47ba92e95ed670b959a8335dc134c8 +Subproject commit 66979665bc73137b0a70e9b4f6f88f21558fa4c9 diff --git a/Loop b/Loop index e3761d317a..fa3b3cd85f 160000 --- a/Loop +++ b/Loop @@ -1 +1 @@ -Subproject commit e3761d317a3290571e8e7aca1819d4ce05a3ad30 +Subproject commit fa3b3cd85fcd3619c19f22a9a5963cfa8a3172f6 diff --git a/MedtrumKit b/MedtrumKit index 3ad0979a3c..9914b18c05 160000 --- a/MedtrumKit +++ b/MedtrumKit @@ -1 +1 @@ -Subproject commit 3ad0979a3c8fc36c2d48a76da8ea70ef2132943a +Subproject commit 9914b18c05e9d1064756eaf76a975ea02790e199 diff --git a/OmnipodKit b/OmnipodKit index 08c4efe25f..8b2c3d330a 160000 --- a/OmnipodKit +++ b/OmnipodKit @@ -1 +1 @@ -Subproject commit 08c4efe25f224b552e6c48fdcf6d1b33970e7c12 +Subproject commit 8b2c3d330aa9f193e99b76a2393d2d1dfe5ac66a diff --git a/VersionOverride.xcconfig b/VersionOverride.xcconfig index 038d663c2f..c856330297 100644 --- a/VersionOverride.xcconfig +++ b/VersionOverride.xcconfig @@ -8,5 +8,5 @@ // Version [for DIY Loop] // configure the version number in LoopWorkspace -LOOP_MARKETING_VERSION = 3.14.3 +LOOP_MARKETING_VERSION = 3.14.4 CURRENT_PROJECT_VERSION = 57 diff --git a/fastlane/testflight.md b/fastlane/testflight.md index b44f07df07..185aea17e0 100644 --- a/fastlane/testflight.md +++ b/fastlane/testflight.md @@ -12,7 +12,7 @@ These instructions allow you to build your app without having access to a Mac. > The browser build **defaults to** automatically updating and building a new version of Loop according to this schedule: > - automatically checks for updates weekly and if updates are found, it will build a new version of the app > - even when there are no updates, it builds on the second Sunday of the month -> - with each scheduled weekly run, a successful build log appears - if the time is very short, it did not need to build - only the long actions (>20 minutes) built a new app +> - if a scheduled run finds nothing new to build, the run is cancelled and shows as cancelled (grey) in the Actions list - a green check always means a new build was made and uploaded to TestFlight > > The [**Optional**](#optional) section provides instructions to modify the default behavior if desired.