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:
parent
64f0cedd34
commit
40625a652d
1 changed files with 1 additions and 1 deletions
|
|
@ -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]}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue