From f7d5bcd08c1a843c191818f4fda2c07de4811346 Mon Sep 17 00:00:00 2001 From: Alex Guretzki Date: Sat, 18 Jan 2025 17:11:44 +0100 Subject: [PATCH] Update detect_api_changes.yml --- .github/workflows/detect_api_changes.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/detect_api_changes.yml b/.github/workflows/detect_api_changes.yml index 95558a9612..6a59d772eb 100644 --- a/.github/workflows/detect_api_changes.yml +++ b/.github/workflows/detect_api_changes.yml @@ -35,7 +35,7 @@ jobs: NEW="${{ env.source }}~${{ env.githubRepo }}" # Release branches get compared to the last tag instead of the target branch - if [[ "${{ github.head_ref || env.noTargetBranch }}" == release/* ]] + if [[ "${{ env.targetBranchName || env.noTargetBranch }}" == release/* ]] then LATEST_TAG="$(git describe --tags --abbrev=0)" OLD="$LATEST_TAG~${{ env.githubRepo }}"