File tree Expand file tree Collapse file tree 2 files changed +31
-2
lines changed
Expand file tree Collapse file tree 2 files changed +31
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Pre-testing checks
2+
3+ on :
4+ push :
5+ branches : [ develop ]
6+ pull_request :
7+ branches : [ develop ]
8+ workflow_dispatch :
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout code
15+ run : echo "Success"
Original file line number Diff line number Diff line change 33# All rights reserved.
44
55name : Тестирование
6- # Любой пуш и pr в проекте
7- on : [push, pull_request]
6+
7+ on :
8+ workflow_run :
9+ workflows : ["Pre-testing checks"]
10+ types :
11+ - completed
12+
13+ permissions :
14+ checks : write
15+ contents : read
816
917jobs :
1018 test :
19+ if : ${{ github.event.workflow_run.conclusion == 'success' }}
1120 runs-on : ${{ matrix.os }}
1221 strategy :
1322 matrix :
1726 os : [windows-latest, ubuntu-22.04]
1827 locale : ['ru_RU']
1928 fail-fast : false
29+
2030 steps :
2131 - name : Установка локали
2232 if : matrix.os == startsWith(matrix.os, 'windows')
2838
2939 - name : Актуализация
3040 uses : actions/checkout@v4.2.2
41+ with :
42+ fetch-depth : 0
43+ repository : ${{ github.event.workflow_run.head_repository.full_name }}
44+ ref : ${{ github.event.workflow_run.head_sha }}
3145
3246 # Установка OneScript конкретной версии
3347 - name : Установка OneScript
You can’t perform that action at this time.
0 commit comments