From 40625a652da4b48c4fd2cf5497ad10a41d688f1b Mon Sep 17 00:00:00 2001 From: "Jason N." <33561705+JasonN3@users.noreply.github.com> Date: Mon, 11 Mar 2024 13:16:11 -0400 Subject: [PATCH] simplify check --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 711a341..b93f53f 100644 --- a/action.yml +++ b/action.yml @@ -125,7 +125,7 @@ runs: shell: bash run: | # Check if running inside of the action repo - if [[ ${{ github.action_repository }} == ${{ github.repository }} ]] + if [[ -z "${{ github.action_repository }}" ]] then if [[ "${{ github.ref_name }}" =~ (.*)/merge ]] then tag=pr-${BASH_REMATCH[1]}