File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4343 tests :
4444 # Don't run the cron builds on forks
4545 if : github.event_name != 'schedule' || github.repository_owner == 'aws'
46- uses : ./.github/workflows/ci_tests.yaml
46+ uses : ./.github/workflows/ci_tests.yaml
47+
48+ notify :
49+ needs :
50+ [
51+ codebuild_batch,
52+ codebuild_tests,
53+ decrypt_oracle,
54+ static_analysis,
55+ test_vector_handler,
56+ tests
57+ ]
58+ if : ${{ failure() }}
59+ uses : aws/aws-cryptographic-material-providers-library/.github/workflows/slack-notification.yml@main
60+ with :
61+ message : " Daily CI failed on `${{ github.repository }}`. View run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
62+ secrets :
63+ 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+ permissions :
9+ contents : read
10+
11+ jobs :
12+ notify-issue :
13+ if : github.event_name == 'issues'
14+ uses : aws/aws-cryptographic-material-providers-library/.github/workflows/slack-notification.yml@main
15+ with :
16+ message : " New github issue `${{ github.event.issue.title }}`. Link: ${{ github.event.issue.html_url }}"
17+ secrets :
18+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL_GHI }}
19+
20+ notify-comment :
21+ if : github.event_name == 'issue_comment' && !github.event.issue.pull_request
22+ uses : aws/aws-cryptographic-material-providers-library/.github/workflows/slack-notification.yml@main
23+ with :
24+ message : " New comment on issue `${{ github.event.issue.title }}`. Link: ${{ github.event.comment.html_url }}"
25+ secrets :
26+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL_GHI }}
You can’t perform that action at this time.
0 commit comments