File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -220,6 +220,30 @@ jobs:
220
220
channel: 'e2e-ci-results'
221
221
text: "*e2e-nvidia-l40s-x4* job in *${{ github.repository }}* running on branch `${{ steps.check_pr.outputs.pr_or_branch }}` completed *successfully* :meow_party: | ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
222
222
223
+ - name : Send Discord notification for failure
224
+ if : failure() && steps.check_pr.outputs.is_pr == 'false'
225
+ uses : sarisia/actions-status-discord@65843b6a7d18626c252a055e247ccad1f41b4004 # v1.15.1
226
+ with :
227
+ webhook : ${{ secrets.SON_OF_JEEVES_DISCORD_WEBHOOK }}
228
+ status : ${{ job.status }}
229
+ title : " e2e-nvidia-l40s-x4"
230
+ description : |
231
+ Job in **${{ github.repository }}** running on branch `${{ steps.check_pr.outputs.pr_or_branch }}` completed **with failures** ❌
232
+ Click [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) to view details.
233
+ color : 0xCB2431 # Red color for failure
234
+
235
+ - name : Send Discord notification for success
236
+ if : success() && steps.check_pr.outputs.is_pr == 'false'
237
+ uses : sarisia/actions-status-discord@65843b6a7d18626c252a055e247ccad1f41b4004 # v1.15.1
238
+ with :
239
+ webhook : ${{ secrets.SON_OF_JEEVES_DISCORD_WEBHOOK }}
240
+ status : ${{ job.status }}
241
+ title : " e2e-nvidia-l40s-x4"
242
+ description : |
243
+ Job in **${{ github.repository }}** running on branch `${{ steps.check_pr.outputs.pr_or_branch }}` completed **successfully** ✅
244
+ Click [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) to view details.
245
+ color : 0x28A745 # Green color for success
246
+
223
247
stop-large-ec2-runner :
224
248
needs :
225
249
- start-large-ec2-runner
You can’t perform that action at this time.
0 commit comments