From 1979d5700a8bd773119b22ba37251ff1ef801c74 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Tue, 29 Dec 2020 09:11:26 -0500 Subject: [PATCH] Update action.yml --- action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index c7ea824..db05100 100644 --- a/action.yml +++ b/action.yml @@ -40,8 +40,9 @@ runs: export REF=${{ inputs.ref }} echo "::set-output name=base_ref_branch::${BASE_REF/refs\/heads\//}" echo "::set-output name=head_ref_branch::${HEAD_REF/refs\/heads\//}" + // For pull requests REF_BRANCH=${REF/refs\/pull\//} - echo "::set-output name=ref_branch::${$REF_BRANCH/refs\/heads\//}" + echo "::set-output name=ref_branch::${REF_BRANCH/refs\/heads\//}" shell: bash branding: icon: git-branch