1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00

simplify check

This commit is contained in:
Jason N. 2024-03-11 13:16:11 -04:00
parent 64f0cedd34
commit 40625a652d

View file

@ -125,7 +125,7 @@ runs:
shell: bash shell: bash
run: | run: |
# Check if running inside of the action repo # Check if running inside of the action repo
if [[ ${{ github.action_repository }} == ${{ github.repository }} ]] if [[ -z "${{ github.action_repository }}" ]]
then then
if [[ "${{ github.ref_name }}" =~ (.*)/merge ]] if [[ "${{ github.ref_name }}" =~ (.*)/merge ]]
then tag=pr-${BASH_REMATCH[1]} then tag=pr-${BASH_REMATCH[1]}