File tree Expand file tree Collapse file tree 3 files changed +37
-0
lines changed Expand file tree Collapse file tree 3 files changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Wait for checks
2
+
3
+ on :
4
+ workflow_call :
5
+ inputs :
6
+ match_pattern :
7
+ description : Regex for check run names to wait for
8
+ required : true
9
+ type : string
10
+
11
+ jobs :
12
+ wait :
13
+ runs-on : ubuntu-latest
14
+ permissions :
15
+ checks : read
16
+ steps :
17
+ - name : Wait for checks (PRs only)
18
+ if : github.event_name == 'pull_request' || startsWith(github.ref, 'refs/heads/pull-request/')
19
+
20
+ with :
21
+ token : ${{ secrets.GITHUB_TOKEN }}
22
+ match_pattern : ${{ inputs.match_pattern }}
Original file line number Diff line number Diff line change @@ -18,7 +18,17 @@ concurrency:
18
18
cancel-in-progress : true
19
19
20
20
jobs :
21
+ wait-dco :
22
+ uses : ./.github/workflows/_wait_for_checks.yml
23
+ with :
24
+ match_pattern : ' ^DCO$'
25
+ wait-unit-tests :
26
+ needs : [wait-dco]
27
+ uses : ./.github/workflows/_wait_for_checks.yml
28
+ with :
29
+ match_pattern : ' Unit tests / linux*'
21
30
gpu-tests :
31
+ needs : [wait-unit-tests]
22
32
# Runner list at https://github.com/nv-gha-runners/enterprise-runner-configuration/blob/main/docs/runner-groups.md
23
33
runs-on : linux-amd64-gpu-h100-latest-1
24
34
timeout-minutes : 60
Original file line number Diff line number Diff line change @@ -26,7 +26,12 @@ concurrency:
26
26
cancel-in-progress : true
27
27
28
28
jobs :
29
+ wait-dco :
30
+ uses : ./.github/workflows/_wait_for_checks.yml
31
+ with :
32
+ match_pattern : ' ^DCO$'
29
33
linux :
34
+ needs : [wait-dco]
30
35
runs-on : ubuntu-latest
31
36
timeout-minutes : 30
32
37
steps :
You can’t perform that action at this time.
0 commit comments