fix(ci): get head_ref to get a name for the backward compat branch

This commit is contained in:
Arthur Meyre
2025-03-28 18:10:25 +01:00
parent e8576ca2e1
commit 7354265c52

View File

@@ -71,7 +71,7 @@ jobs:
- name: Use specific data branch
if: ${{ contains(github.event.pull_request.labels.*.name, 'data_PR') }}
env:
PR_BRANCH: ${{ github.ref_name }}
PR_BRANCH: ${{ github.head_ref || github.ref_name }}
run: |
echo "BACKWARD_COMPAT_DATA_BRANCH=${PR_BRANCH}" >> "${GITHUB_ENV}"