Skip to content

Commit 432bfa9

Browse files
committed
Run only after RT actions are complete
1 parent 628897b commit 432bfa9

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/ci_build_scm_ubuntu_nvidia.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
name: build the CCPP-SCM with Nvidia
22

3-
on: [pull_request,workflow_dispatch]
3+
on:
4+
workflow_run:
5+
workflows: ["build and run SCM regression tests"]
6+
types:
7+
- completed
48

59
jobs:
610

711
build_scm:
8-
# The type of runner that the job will run on
12+
# trigger only after the SCM regression tests have completed from a PR or workflow event
13+
if: |
14+
github.event.workflow_run.event == 'pull_request' ||
15+
github.event.workflow_run.event == 'workflow_dispatch'
916
runs-on: ubuntu-latest
1017
strategy:
1118
fail-fast: false

0 commit comments

Comments
 (0)