From 85b1d219ec4a515a7db0428fb4987314a820e810 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sat, 24 Apr 2021 20:51:11 -0400 Subject: [PATCH] Fixed bug with is_default --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 83545d0..0251e9d 100644 --- a/action.yml +++ b/action.yml @@ -52,7 +52,7 @@ runs: shell: bash - id: default run: | - if [[ "${{ steps.current_branch.outputs.current_branch }}" == "${{ steps.branch.outputs.ref_branch }}" ]]; then + if [[ "${{ steps.current_branch.outputs.current_branch }}" == "${{ steps.branch.outputs.ref_branch }}" && ${{ !startsWith(github.ref, 'refs/tags/') }} ]]; then echo "::set-output name=is_default::true" else echo "::set-output name=is_default::false"