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]}