File tree 1 file changed +33
-0
lines changed
1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -132,3 +132,36 @@ jobs:
132
132
repo : ${{ matrix.repo }}
133
133
owner : ecmwf
134
134
event_type : magics-python-updated
135
+
136
+ dispatch :
137
+ name : dispatch
138
+ needs :
139
+ - quality
140
+ - checks
141
+ runs-on : ubuntu-20.04
142
+ steps :
143
+ - name : Run Regression Tests
144
+ uses : peter-evans/repository-dispatch@v1
145
+ with :
146
+ token : ${{ secrets.GH_PAT }}
147
+ repository : ecmwf/magics-test
148
+ event-type : magics-python-updated
149
+ client-payload : ' {"magics_python_ref": "${{ github.ref }}", "magics_python_sha": "${{ github.sha }}"}'
150
+
151
+ notify-teams :
152
+ name : notify
153
+ runs-on : ubuntu-20.04
154
+ needs :
155
+ - quality
156
+ - checks
157
+ - deploy
158
+ - notify
159
+ - dispatch
160
+ if : always() && github.ref == 'refs/heads/master'
161
+ steps :
162
+ - name : Notify Teams
163
+ uses : ecmwf-actions/notify-teams@v1
164
+ with :
165
+ incoming_webhook : ${{ secrets.MS_TEAMS_INCOMING_WEBHOOK }}
166
+ needs_context : ${{ toJSON(needs) }}
167
+ workflow_id : check-and-publish.yml
You can’t perform that action at this time.
0 commit comments