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