From 6a0b93b128618a6598366ca7434031955eab1f7e Mon Sep 17 00:00:00 2001 From: James McMullan Date: Tue, 9 Jan 2024 14:20:30 -0500 Subject: [PATCH] test --- .github/workflows/baremetal-regression-suite.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/baremetal-regression-suite.yml b/.github/workflows/baremetal-regression-suite.yml index c246536cc..57f982138 100644 --- a/.github/workflows/baremetal-regression-suite.yml +++ b/.github/workflows/baremetal-regression-suite.yml @@ -34,6 +34,11 @@ jobs: fetch-depth: 0 fetch-tags: true + - name: Extract branch name + shell: bash + run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT + id: extract_branch + - name: Extract Latest Tagged Version id: extract_version env: @@ -43,7 +48,7 @@ jobs: PULL_URL: ${{ github.event.pull_request.html_url }} COMMENTS_URL: ${{ github.event.pull_request.comments_url }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - BRANCH_NAME: ${{ github.ref_name }} + BRANCH_NAME: ${{ steps.extract_branch.outputs.branch }} shell: python run: | import os