From 41b3911fe13c68fa938f2db577876624c0709d65 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sat, 13 Feb 2021 22:24:10 -0500 Subject: [PATCH] Update action.yml --- action.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index 62ffd50..a2213f0 100644 --- a/action.yml +++ b/action.yml @@ -55,10 +55,8 @@ runs: shell: bash - id: default run: | - if [[ -z "${{ steps.branch.outputs.head_ref_branch }}" ]]; then - if [[ "${{ steps.current_branch.outputs.current_branch }}" == "${{ steps.current_branch.outputs.ref_branch }}" ]]; then - echo "::set-output name=is_default::true" - fi + if [[ "${{ steps.current_branch.outputs.current_branch }}" == "${{ steps.branch.outputs.ref_branch }}" ]]; then + echo "::set-output name=is_default::true" else echo "::set-output name=is_default::false" fi