Skip to content

Commit 48abd0c

Browse files
author
Harmanpreet Kaur
committed
fix: update notification subjects and increase wait time for propagation from 20 to 25 minutes
1 parent b562bcc commit 48abd0c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ jobs:
7373
RUN_URL="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
7474
EMAIL_BODY=$(cat <<EOF
7575
{
76+
"subject": "CWYD Pipeline - Quota Check Failed",
7677
"body": "<p>Dear Team,</p><p>The quota check has failed, and the pipeline cannot proceed.</p><p><strong>Build URL:</strong> ${RUN_URL}</p><p>Please take necessary action.</p><p>Best regards,<br>Your Automation Team</p>"
7778
}
7879
EOF
@@ -383,8 +384,8 @@ jobs:
383384
echo "DEPLOYMENT_SUCCESS=true" >> $GITHUB_OUTPUT
384385
385386
386-
- name: Wait for 20 minutes for propagation
387-
run: sleep 1200
387+
- name: Wait for 25 minutes for propagation
388+
run: sleep 1500
388389

389390

390391
e2e-test:
@@ -437,6 +438,7 @@ jobs:
437438
RUN_URL="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
438439
EMAIL_BODY=$(cat <<EOF
439440
{
441+
"subject": "CWYD Pipeline - Deployment Failed",
440442
"body": "<p>Dear Team,</p><p>The CWYD Automation process has encountered an issue and has failed to complete successfully.</p><p><strong>Build URL:</strong> ${RUN_URL}</p><p>Please investigate.</p><p>Best regards,<br>Your Automation Team</p>"
441443
}
442444
EOF

0 commit comments

Comments
 (0)