File tree Expand file tree Collapse file tree 4 files changed +24
-9
lines changed Expand file tree Collapse file tree 4 files changed +24
-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,29 @@ 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
+ runs-on : ubuntu-latest
131
+ steps :
132
+ # No-op job to trigger workflow 'stackhpc.yml' via workflow_run
133
+ uses : mattdesl/no-op@32ec85ff176f761f607087006bda993440da5fe4
132
134
133
135
extra :
134
136
name : Test extra build
135
137
needs : files_changed
136
138
if : |
137
139
github.event_name != 'pull_request' && needs.files_changed.outputs.extra_on_push == 'true' ||
138
140
github.event_name == 'pull_request' && needs.files_changed.outputs.extra_on_pull_request == 'true'
139
- uses : ./.github/workflows/extra.yml
140
- secrets : inherit
141
+ runs-on : ubuntu-latest
142
+ steps :
143
+ # No-op job to trigger workflow 'extra.yml' via workflow_run
144
+ uses : mattdesl/no-op@32ec85ff176f761f607087006bda993440da5fe4
141
145
142
146
trivyscan :
143
147
name : Trivy scan image for vulnerabilities
144
148
needs : files_changed
145
149
if : |
146
150
github.event_name == 'pull_request' &&
147
151
needs.files_changed.outputs.trivyscan == 'true'
148
- uses : ./.github/workflows/trivyscan.yml
149
- secrets : inherit
152
+ runs-on : ubuntu-latest
153
+ steps :
154
+ # No-op job to trigger workflow 'trivyscan.yml' via workflow_run
155
+ 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