From d25178d2e5ec59acfa828c08dac5555cad407897 Mon Sep 17 00:00:00 2001 From: Luca <102960244+Luca-Timo@users.noreply.github.com> Date: Tue, 30 Jun 2026 17:28:31 +0200 Subject: [PATCH] ci(whatsnew): let the Models step fail soft so the fallback runs without Models MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If GitHub Models is disabled for the org the ai-inference step errors; without continue-on-error the job would go red and skip the inject+fallback. Mark it continue-on-error so an unavailable Models cleanly degrades to the deterministic bullets — the feature now works with Models off, not just on. --- .github/workflows/whatsnew-highlights.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/whatsnew-highlights.yml b/.github/workflows/whatsnew-highlights.yml index 52f54633..de262da3 100644 --- a/.github/workflows/whatsnew-highlights.yml +++ b/.github/workflows/whatsnew-highlights.yml @@ -15,8 +15,9 @@ # never a hard dependency. Failure is isolated by `continue-on-error` + the # deterministic fallback below, so it can never break a release. # -# Requires GitHub Models to be enabled for the PicPeak org (owner setting). -# Until then the AI step returns nothing and the deterministic fallback is used. +# GitHub Models is OPTIONAL. If it is disabled/unavailable for the org the AI +# step fails soft (continue-on-error) and the deterministic fallback produces +# the bullets instead — the feature works either way, Models just polishes them. # # Validated end-to-end on a fork (extract -> openai/gpt-4o-mini -> inject into # real release notes; app parseWhatsNew() reads the block back). @@ -51,6 +52,7 @@ jobs: - name: Summarize with GitHub Models if: ${{ steps.feat.outputs.features != '' }} id: ai + continue-on-error: true # Models may be disabled/unavailable for the org; fall back deterministically below uses: actions/ai-inference@v1 with: model: openai/gpt-4o-mini # catalog id (verified present); openai/gpt-4.1-mini or openai/gpt-5-nano also work