File tree Expand file tree Collapse file tree 2 files changed +36
-1
lines changed
Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Original file line number Diff line number Diff line change 99 DAILY_CI :
1010 # Don't run the cron builds on forks
1111 if : github.event_name != 'schedule' || github.repository_owner == 'aws'
12- uses : ./.github/workflows/ci.yml
12+ uses : ./.github/workflows/ci.yml
13+
14+ notify :
15+ needs :
16+ [
17+ DAILY_CI,
18+ ]
19+ if : ${{ failure() }}
20+ uses : aws/aws-cryptographic-material-providers-library/.github/workflows/slack-notification.yml@main
21+ with :
22+ message : " Daily CI failed on `${{ github.repository }}`. View run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
23+ secrets :
24+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL_CI }}
Original file line number Diff line number Diff line change 1+ name : Issue Created Notification
2+ on :
3+ issues :
4+ types : [opened, reopened]
5+ issue_comment :
6+ types : [created]
7+
8+ jobs :
9+ notify-issue :
10+ if : github.event_name == 'issues'
11+ uses : aws/aws-cryptographic-material-providers-library/.github/workflows/slack-notification.yml@main
12+ with :
13+ message : " New github issue `${{ github.event.issue.title }}`. Link: ${{ github.event.issue.html_url }}"
14+ secrets :
15+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL_GHI }}
16+
17+ notify-comment :
18+ if : github.event_name == 'issue_comment' && !github.event.issue.pull_request
19+ uses : aws/aws-cryptographic-material-providers-library/.github/workflows/slack-notification.yml@main
20+ with :
21+ message : " New comment on issue `${{ github.event.issue.title }}`. Link: ${{ github.event.comment.html_url }}"
22+ secrets :
23+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL_GHI }}
You can’t perform that action at this time.
0 commit comments