File tree Expand file tree Collapse file tree 4 files changed +18
-9
lines changed Expand file tree Collapse file tree 4 files changed +18
-9
lines changed Original file line number Diff line number Diff line change 6
6
7
7
name : Test extra build
8
8
on :
9
- workflow_call :
10
9
workflow_dispatch :
10
+ workflow_run :
11
+ workflows : ["extra"]
12
+ types :
13
+ - completed
11
14
12
15
permissions :
13
16
contents : read
Original file line number Diff line number Diff line change @@ -127,23 +127,23 @@ jobs:
127
127
needs : files_changed
128
128
if : |
129
129
needs.files_changed.outputs.stackhpc == 'true'
130
- uses : ./.github/workflows/ stackhpc.yml
131
- secrets : inherit
130
+ # No-op job to trigger workflow ' stackhpc.yml' via workflow_run
131
+ uses : mattdesl/no-op@32ec85ff176f761f607087006bda993440da5fe4
132
132
133
133
extra :
134
134
name : Test extra build
135
135
needs : files_changed
136
136
if : |
137
137
github.event_name != 'pull_request' && needs.files_changed.outputs.extra_on_push == 'true' ||
138
138
github.event_name == 'pull_request' && needs.files_changed.outputs.extra_on_pull_request == 'true'
139
- uses : ./.github/workflows/ extra.yml
140
- secrets : inherit
139
+ # No-op job to trigger workflow ' extra.yml' via workflow_run
140
+ uses : mattdesl/no-op@32ec85ff176f761f607087006bda993440da5fe4
141
141
142
142
trivyscan :
143
143
name : Trivy scan image for vulnerabilities
144
144
needs : files_changed
145
145
if : |
146
146
github.event_name == 'pull_request' &&
147
147
needs.files_changed.outputs.trivyscan == 'true'
148
- uses : ./.github/workflows/ trivyscan.yml
149
- secrets : inherit
148
+ # No-op job to trigger workflow ' trivyscan.yml' via workflow_run
149
+ uses : mattdesl/no-op@32ec85ff176f761f607087006bda993440da5fe4
Original file line number Diff line number Diff line change 6
6
7
7
name : Test deployment and reimage on OpenStack
8
8
on :
9
- workflow_call :
10
9
workflow_dispatch :
10
+ workflow_run :
11
+ workflows : ["stackhpc"]
12
+ types :
13
+ - completed
11
14
12
15
permissions :
13
16
contents : read
Original file line number Diff line number Diff line change 6
6
7
7
name : Trivy scan image for vulnerabilities
8
8
on :
9
- workflow_call :
10
9
workflow_dispatch :
10
+ workflow_run :
11
+ workflows : ["trivyscan"]
12
+ types :
13
+ - completed
11
14
12
15
permissions :
13
16
contents : read
You can’t perform that action at this time.
0 commit comments