Skip to content

Commit 3e6e02a

Browse files
authored
Merge pull request #2267 from input-output-hk/dlachaume/fix-test-notify-on-failure-workflow
Fix: add missing `workflow_call` trigger on Test Notify on Failure workflow
2 parents 31aa286 + 5ea3289 commit 3e6e02a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/scripts/notify-nightly-failure.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,8 @@ const msg = {
2828

2929
sgMail
3030
.send(msg)
31-
.then(() => console.log("Mail sent successfully"))
32-
.catch((error) => console.error(error.toString()));
31+
.then(() => {
32+
console.log("Mail sent successfully");
33+
console.log("Message details:", msg);
34+
})
35+
.catch((error) => console.error("Error sending email:", error));

.github/workflows/test-notify-on-failure.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Test Notify on Failure
22

33
on:
44
workflow_dispatch:
5+
workflow_call:
56

67
jobs:
78
notify-on-failure:

0 commit comments

Comments
 (0)