From ffe75f1ee7955bdb01a6b980eb5791166c120ad7 Mon Sep 17 00:00:00 2001 From: Penelope Yong Date: Tue, 13 Aug 2024 11:05:45 +0100 Subject: [PATCH] Fix base See https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#events-which-checkout-a-commit --- .github/workflows/version_check.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/version_check.yml b/.github/workflows/version_check.yml index 972fb468f..a4d673d33 100644 --- a/.github/workflows/version_check.yml +++ b/.github/workflows/version_check.yml @@ -168,5 +168,6 @@ jobs: if: env.TARGET_IS_MASTER uses: peter-evans/create-pull-request@v6 with: + base: ${{ github.event_name == 'pull_request' && github.head_ref || github.ref_name }} commit-message: "Update Turing.jl version to match latest release" title: "Update Turing.jl version to match latest release"