File tree Expand file tree Collapse file tree 6 files changed +39
-6
lines changed
Expand file tree Collapse file tree 6 files changed +39
-6
lines changed Original file line number Diff line number Diff line change 44 push :
55 tags :
66 - ' *'
7- - ' !*-pro*'
87 workflow_dispatch :
98 inputs :
109 name :
2120 - name : Check out the repo
2221 uses : actions/checkout@v3
2322
23+ - name : Check repository URL
24+ run : |
25+ REPO_URL=$(git config --get remote.origin.url)
26+ if [[ $REPO_URL == *"pro" ]]; then
27+ exit 1
28+ fi
29+
2430 - name : Save version info
2531 run : |
2632 git describe --tags > VERSION
Original file line number Diff line number Diff line change 44 push :
55 tags :
66 - ' *'
7- - ' !*-pro*'
87 workflow_dispatch :
98 inputs :
109 name :
2120 - name : Check out the repo
2221 uses : actions/checkout@v3
2322
23+ - name : Check repository URL
24+ run : |
25+ REPO_URL=$(git config --get remote.origin.url)
26+ if [[ $REPO_URL == *"pro" ]]; then
27+ exit 1
28+ fi
29+
2430 - name : Save version info
2531 run : |
2632 git describe --tags > VERSION
Original file line number Diff line number Diff line change 55 tags :
66 - ' *'
77 - ' !*-alpha*'
8- - ' !*-pro*'
98 workflow_dispatch :
109 inputs :
1110 name :
2221 - name : Check out the repo
2322 uses : actions/checkout@v3
2423
24+ - name : Check repository URL
25+ run : |
26+ REPO_URL=$(git config --get remote.origin.url)
27+ if [[ $REPO_URL == *"pro" ]]; then
28+ exit 1
29+ fi
30+
2531 - name : Save version info
2632 run : |
2733 git describe --tags > VERSION
Original file line number Diff line number Diff line change 77 tags :
88 - ' *'
99 - ' !*-alpha*'
10- - ' !*-pro*'
1110 workflow_dispatch :
1211 inputs :
1312 name :
2120 uses : actions/checkout@v3
2221 with :
2322 fetch-depth : 0
23+ - name : Check repository URL
24+ run : |
25+ REPO_URL=$(git config --get remote.origin.url)
26+ if [[ $REPO_URL == *"pro" ]]; then
27+ exit 1
28+ fi
2429 - uses : actions/setup-node@v3
2530 with :
2631 node-version : 16
Original file line number Diff line number Diff line change 77 tags :
88 - ' *'
99 - ' !*-alpha*'
10- - ' !*-pro*'
1110 workflow_dispatch :
1211 inputs :
1312 name :
2120 uses : actions/checkout@v3
2221 with :
2322 fetch-depth : 0
23+ - name : Check repository URL
24+ run : |
25+ REPO_URL=$(git config --get remote.origin.url)
26+ if [[ $REPO_URL == *"pro" ]]; then
27+ exit 1
28+ fi
2429 - uses : actions/setup-node@v3
2530 with :
2631 node-version : 16
Original file line number Diff line number Diff line change 77 tags :
88 - ' *'
99 - ' !*-alpha*'
10- - ' !*-pro*'
1110 workflow_dispatch :
1211 inputs :
1312 name :
2423 uses : actions/checkout@v3
2524 with :
2625 fetch-depth : 0
26+ - name : Check repository URL
27+ run : |
28+ REPO_URL=$(git config --get remote.origin.url)
29+ if [[ $REPO_URL == *"pro" ]]; then
30+ exit 1
31+ fi
2732 - uses : actions/setup-node@v3
2833 with :
2934 node-version : 16
You can’t perform that action at this time.
0 commit comments