From 2d65439a0aed2f62379dd6f1595b7e962cb04432 Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Mon, 5 Jan 2026 21:47:08 +0100 Subject: [PATCH] Update GitHub workflow to replace `develop/3.6.0` with `release/3.6.0` and refine branch matching logic --- .github/workflows/packages.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 3b75ef495..515bc24c6 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -101,7 +101,7 @@ jobs: path: artifacts/coverage - name: Upload Pages artifact - if: always() && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop/3.6.0') + if: always() && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/release/3.6.0') uses: actions/upload-pages-artifact@v3 with: path: './artifacts/coverage-report' @@ -138,7 +138,7 @@ jobs: run: | if [[ "${{ github.ref }}" == refs/tags/* && "${{ github.event_name }}" == "release" && ("${{ github.event.action }}" == "published" || "${{ github.event.action }}" == "prereleased") ]]; then git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* - git branch --remote --contains | grep origin/main + git branch --remote --contains | grep -E 'origin/(main|release/)' else git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* git branch --remote --contains | grep origin/${BRANCH_NAME}