From 4f6347b8b22efd7269c8ba99ce05247e46cfd99d Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Mon, 10 Jun 2024 15:48:09 +0200 Subject: [PATCH] Update branch name reference in packages.yml workflow The commit modifies the branch name reference for the specific condition in the GitHub Actions workflow defined in packages.yml. Instead of checking for the presence of '3.1.3', the script now looks for the 'main' branch. --- .github/workflows/packages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 009401d8e..399ee97dd 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -50,7 +50,7 @@ jobs: run: | if [[ "${{ github.ref }}" == refs/tags/* && "${{ github.event_name }}" == "release" && "${{ github.event.action }}" == "published" ]]; then git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* - git branch --remote --contains | grep 3.1.3 + git branch --remote --contains | grep main else git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* git branch --remote --contains | grep origin/${BRANCH_NAME}