From d9d4fe93fb568080f8038e964696f55b336ff89b Mon Sep 17 00:00:00 2001 From: "Kevin D. Wolf" Date: Sat, 29 Aug 2026 16:18:29 -0400 Subject: [PATCH] Relax one-shot TestBase publish gate --- .github/workflows/go-compile-yourself.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go-compile-yourself.yml b/.github/workflows/go-compile-yourself.yml index bd82f4a1..30bce6c0 100644 --- a/.github/workflows/go-compile-yourself.yml +++ b/.github/workflows/go-compile-yourself.yml @@ -71,7 +71,7 @@ jobs: if-no-files-found: error - name: Publish packages - if: ${{ (github.event_name == 'workflow_dispatch' && inputs.publish) || (github.event_name == 'push' && github.ref == 'refs/heads/master' && github.event.head_commit.message == 'Publish Core TestBase 5.0.0') }} + if: ${{ (github.event_name == 'workflow_dispatch' && inputs.publish) || (github.event_name == 'push' && github.ref == 'refs/heads/master' && startsWith(github.event.head_commit.message, 'Publish Core TestBase 5.0.0')) }} shell: pwsh run: | if ([string]::IsNullOrWhiteSpace($env:NUGET_GITHUB_TOKEN)) { @@ -96,7 +96,7 @@ jobs: } - name: Verify published package restores - if: ${{ (github.event_name == 'workflow_dispatch' && inputs.publish) || (github.event_name == 'push' && github.ref == 'refs/heads/master' && github.event.head_commit.message == 'Publish Core TestBase 5.0.0') }} + if: ${{ (github.event_name == 'workflow_dispatch' && inputs.publish) || (github.event_name == 'push' && github.ref == 'refs/heads/master' && startsWith(github.event.head_commit.message, 'Publish Core TestBase 5.0.0')) }} shell: pwsh run: | dotnet nuget locals all --clear