File tree Expand file tree Collapse file tree 3 files changed +41
-0
lines changed
Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -366,3 +366,29 @@ jobs:
366366 S3_BUCKET_NAME : ' builds.emberjs.com'
367367 S3_SECRET_ACCESS_KEY : ${{ secrets.S3_SECRET_ACCESS_KEY}}
368368 S3_ACCESS_KEY_ID : ${{ secrets.S3_ACCESS_KEY_ID}}
369+
370+ notify :
371+ name : Notify Discord
372+ runs-on : ubuntu-latest
373+ needs :
374+ [
375+ basic-test,
376+ lint,
377+ browserstack-test,
378+ production-test,
379+ production-debug-render-test,
380+ extend-prototypes-test,
381+ node-test,
382+ blueprint-test,
383+ browser-test,
384+ ]
385+ if : failure() && contains(github.ref, 'cron') == true
386+ steps :
387+ - uses : sarisia/actions-status-discord@v1
388+ with :
389+ webhook : ${{ secrets.FRAMEWORK_WEBHOOK }}
390+ status : " Failure"
391+ title : " Ember.js Nightly CI"
392+ color : 0xcc0000
393+ url : " ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
394+ username : GitHub Actions
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name: Cron
33on :
44 schedule :
55 - cron : ' 0 7 * * *' # daily, 7am
6+ workflow_dispatch :
67
78jobs :
89 trigger-ci :
Original file line number Diff line number Diff line change 1010 - run : yarn install --frozen-lockfile --non-interactive
1111 - run : yarn add -D typescript@next
1212 - run : yarn type-check
13+ notify :
14+ name : Notify Discord
15+ runs-on : ubuntu-latest
16+ needs : [ ts-next ]
17+ if : failure()
18+ steps :
19+ - uses : sarisia/actions-status-discord@v1
20+ with :
21+ webhook : ${{ secrets.TYPESCRIPT_WEBHOOK }}
22+ status : " Failure"
23+ title : " Ember.js Nightly TypeScript Run"
24+ color : 0xcc0000
25+ url : " ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
26+ username : GitHub Actions
1327
1428# ...nightly at midnight
1529on :
You can’t perform that action at this time.
0 commit comments