From 41584fbfb48555a67051fc98ede206552371afff Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Mon, 15 May 2023 14:19:36 -0600 Subject: [PATCH] Update action.yml --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 1aa5456..b8f2096 100644 --- a/action.yml +++ b/action.yml @@ -75,9 +75,9 @@ runs: if [[ "${{ github.ref }}" != "refs/tags/"* ]]; then if [[ ${{ github.event_name }} == *"pull_request"* ]]; then if [[ -z "$GITHUB_OUTPUT" ]]; then - echo "::set-output name=current_branch::${{ steps.branch.outputs.head_ref }}" + echo "::set-output name=current_branch::${{ steps.branch.outputs.head_ref_branch }}" else - echo "current_branch=${{ steps.branch.outputs.head_ref }}" >> "$GITHUB_OUTPUT" + echo "current_branch=${{ steps.branch.outputs.head_ref_branch }}" >> "$GITHUB_OUTPUT" fi else if [[ -z "$GITHUB_OUTPUT" ]]; then