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:
1818 cancel-in-progress : true
1919
2020jobs :
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*'
2130 gpu-tests :
31+ needs : [wait-unit-tests]
2232 # Runner list at https://github.com/nv-gha-runners/enterprise-runner-configuration/blob/main/docs/runner-groups.md
2333 runs-on : linux-amd64-gpu-h100-latest-1
2434 timeout-minutes : 60
Original file line number Diff line number Diff line change @@ -26,7 +26,12 @@ concurrency:
2626 cancel-in-progress : true
2727
2828jobs :
29+ wait-dco :
30+ uses : ./.github/workflows/_wait_for_checks.yml
31+ with :
32+ match_pattern : ' ^DCO$'
2933 linux :
34+ needs : [wait-dco]
3035 runs-on : ubuntu-latest
3136 timeout-minutes : 30
3237 steps :
You can’t perform that action at this time.
0 commit comments