From 2b1d4656c023221002732b2248ab13d3f810bd24 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Tue, 29 Dec 2020 09:05:11 -0500 Subject: [PATCH] Update action.yml --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index ae4359e..e8dfe3d 100644 --- a/action.yml +++ b/action.yml @@ -40,7 +40,7 @@ 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\//}" - echo "::set-output name=ref_branch::${REF/refs\/pull\//}" + echo "::set-output name=ref_branch::${${REF/refs\/pull\//}/refs\/heads\//}" shell: bash branding: icon: git-branch