We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8b7631 commit 3a6da8cCopy full SHA for 3a6da8c
1 file changed
.github/workflows/daily_ci.yml
@@ -4,9 +4,22 @@ name: Daily CI
4
on:
5
schedule:
6
- cron: "00 15 * * 1-5"
7
-
+ pull_request:
8
+ paths:
9
+ .github/workflows/daily_ci.yml
10
jobs:
11
DAILY_CI:
12
# Don't run the cron builds on forks
13
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
- 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 }}
0 commit comments