Skip to content

Commit 4a313e3

Browse files
authored
Merge branch 'master' into jocorell/validate-kc-on-material-request
2 parents 12e9082 + 01cde29 commit 4a313e3

2 files changed

Lines changed: 44 additions & 1 deletion

File tree

.github/workflows/daily_ci.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,21 @@ jobs:
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 }}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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 }}

0 commit comments

Comments
 (0)