Skip to content

Commit aea51b5

Browse files
auto commit
1 parent f24a0d3 commit aea51b5

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

.github/workflows/daily_ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,27 @@ jobs:
7676
uses: ./.github/workflows/ci_examples_net.yml
7777
with:
7878
dafny: ${{needs.getVersion.outputs.version}}
79+
notify:
80+
needs:
81+
[
82+
getVersion,
83+
getVerifyVersion,
84+
daily-ci-format,
85+
daily-ci-codegen,
86+
daily-ci-verification,
87+
daily-ci-test-vector-verification,
88+
daily-ci-java,
89+
daily-ci-java-test-vectors,
90+
daily-ci-java-examples,
91+
daily-ci-net,
92+
daily-ci-rust,
93+
daily-ci-go,
94+
daily-ci-net-test-vectors,
95+
daily-ci-net-examples,
96+
]
97+
if: ${{ failure() }}
98+
uses: aws/aws-cryptographic-material-providers-library/.github/workflows/slack-notification.yml@main
99+
with:
100+
message: "Daily CI failed on `${{ github.repository }}`."
101+
secrets:
102+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_CI }}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Issue Created Notification
2+
on:
3+
issues:
4+
types: [opened, reopened]
5+
issue_comment:
6+
types: [created]
7+
push:
8+
9+
jobs:
10+
notify-issue:
11+
# if: github.event_name == 'issues'
12+
uses: aws/aws-cryptographic-material-providers-library/.github/workflows/slack-notification.yml@main
13+
with:
14+
message: "Ignore this. Rishav is just testing in DB-ESDK by reusing workflow in MPL"
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 }}

0 commit comments

Comments
 (0)