From 228ccaeb1acb9d9f55cdb94c494f6fb894ac26b7 Mon Sep 17 00:00:00 2001 From: Diviloper Date: Thu, 28 Mar 2024 16:27:00 +0100 Subject: [PATCH] Fix test workflow to use name of target branch instead of the base branch when triggered by a PR. --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9e0b37e4..f2ccb34e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,7 +31,7 @@ jobs: - name: Install MEOS env: - BRANCH_NAME: ${{ github.head_ref || github.ref_name }} + BRANCH_NAME: ${{ github.base_ref || github.ref_name }} run: | git clone --branch ${{ env.BRANCH_NAME }} --depth 1 https://github.com/MobilityDB/MobilityDB mkdir MobilityDB/build