From 19dc24d3747e6b60dddb25006a61c264020c8173 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Mon, 15 May 2023 14:16:44 -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 dad8737..a521e48 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_branch }}" + echo "::set-output name=current_branch::${{ github.event.pull_request.head.ref }}" else - echo "current_branch=${{ steps.branch.outputs.head_ref_branch }}" >> "$GITHUB_OUTPUT" + echo "current_branch=${{ github.event.pull_request.head.ref }}" >> "$GITHUB_OUTPUT" fi else if [[ -z "$GITHUB_OUTPUT" ]]; then