From 062e6a0d27aa2a7ad619bda5fe3dc03a224244c8 Mon Sep 17 00:00:00 2001 From: uazo <29201891+uazo@users.noreply.github.com> Date: Thu, 24 Mar 2022 17:59:47 +0100 Subject: [PATCH] fix getting branch name --- .github/workflows/check-git-apply.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-git-apply.yaml b/.github/workflows/check-git-apply.yaml index f2572722..7700dc10 100644 --- a/.github/workflows/check-git-apply.yaml +++ b/.github/workflows/check-git-apply.yaml @@ -41,7 +41,7 @@ jobs: unzip pup_v0.4.0_linux_amd64.zip rm pup_v0.4.0_linux_amd64.zip - BRANCH=$(curl https://github.com/uazo/bromite/branch_commits/$RTAG | ./pup -p li.branch a text{}) + BRANCH=$(curl https://github.com/uazo/bromite/branch_commits/$RTAG | ./pup -p li.branch:last-child a text{}) echo "BRANCH=$BRANCH" >> $GITHUB_ENV - name: Checkout 'uazo/bromite' ${{ env.BRANCH }}