Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Tonye Jack committed Dec 29, 2020
1 parent f3c06da commit 1979d57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1979d57

Please sign in to comment.