From 4fa0d42f830b716ef2e64d0beaca63e0b9384c9c Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Sat, 6 Jan 2024 17:51:44 +0100 Subject: [PATCH] Update GitHub actions workflow branch reference The branch reference in the packages.yml workflow file has been updated. We are no longer verifying commits against origin/v3.1.0, and instead verifying them against origin/main. This change aligns with the latest naming convention --- .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 179645fbe..1a24c9b44 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -18,10 +18,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - name: Verify commit exists in origin/v3.1.0 + - name: Verify commit exists in origin/main run: | git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* - git branch --remote --contains | grep origin/v3.1.0 + git branch --remote --contains | grep origin/main - name: Set VERSION variable run: | if [[ "${{ github.ref }}" == refs/tags/* && "${{ github.event_name }}" == "release" && "${{ github.event.action }}" == "published" ]]; then