File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 with :
3434 version : 17
3535 distribution : corretto
36+
37+ notify :
38+ needs :
39+ [
40+ Static_Analysis,
41+ Build,
42+ Examples,
43+ ]
44+ if : ${{ failure() && github.event_name == 'schedule' }}
45+ uses : aws/aws-cryptographic-material-providers-library/.github/workflows/slack-notification.yml@main
46+ with :
47+ message : " Daily CI failed on `${{ github.repository }}`. View run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
48+ secrets :
49+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL_CI }}
Original file line number Diff line number Diff line change 1+ name : Issue Created Notification
2+ permissions :
3+ contents : read
4+ on :
5+ issues :
6+ types : [opened, reopened]
7+ issue_comment :
8+ types : [created]
9+
10+ jobs :
11+ notify-issue :
12+ if : github.event_name == 'issues'
13+ uses : aws/aws-cryptographic-material-providers-library/.github/workflows/slack-notification.yml@main
14+ with :
15+ message : " New github issue `${{ github.event.issue.title }}`. Link: ${{ github.event.issue.html_url }}"
16+ secrets :
17+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL_GHI }}
18+
19+ notify-comment :
20+ if : github.event_name == 'issue_comment' && !github.event.issue.pull_request
21+ uses : aws/aws-cryptographic-material-providers-library/.github/workflows/slack-notification.yml@main
22+ with :
23+ message : " New comment on issue `${{ github.event.issue.title }}`. Link: ${{ github.event.comment.html_url }}"
24+ secrets :
25+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL_GHI }}
You can’t perform that action at this time.
0 commit comments