File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,22 @@ name: Daily CI
44on :
55 schedule :
66 - cron : " 00 15 * * 1-5"
7-
7+ pull_request :
8+ paths :
9+ .github/workflows/daily_ci.yml
810jobs :
911 DAILY_CI :
1012 # Don't run the cron builds on forks
1113 if : github.event_name != 'schedule' || github.repository_owner == 'aws'
12- uses : ./.github/workflows/ci.yml
14+ uses : ./.github/workflows/ci.yml
15+ notify :
16+ needs :
17+ [
18+ DAILY_CI
19+ ]
20+ if : ${{ failure() && github.event_name != 'schedule'}}
21+ uses : ./.github/workflows/slack-notification.yml
22+ with :
23+ message : " Daily CI failed on `${{ github.repository }}`. View run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
24+ secrets :
25+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL_CI }}
You can’t perform that action at this time.
0 commit comments