Skip to content

Commit 2a0bb7f

Browse files
Update email format 1
1 parent 8c131a6 commit 2a0bb7f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/validate-bicep-params.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
retention-days: 30
7373

7474
- name: Send schedule notification on failure
75-
if: github.event_name == 'schedule' && steps.result.outputs.status == 'failure'
75+
if: (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && steps.result.outputs.status == 'failure'
7676
env:
7777
LOGICAPP_URL: ${{ secrets.EMAILNOTIFICATION_LOGICAPP_URL_TA }}
7878
ACCELERATOR_NAME: ${{ env.accelerator_name }}
@@ -88,7 +88,7 @@ jobs:
8888
-d @- || echo "Failed to send notification"
8989
9090
- name: Send schedule notification on success
91-
if: github.event_name == 'schedule' && steps.result.outputs.status == 'success'
91+
if: (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && steps.result.outputs.status == 'success'
9292
env:
9393
LOGICAPP_URL: ${{ secrets.EMAILNOTIFICATION_LOGICAPP_URL_TA }}
9494
ACCELERATOR_NAME: ${{ env.accelerator_name }}

0 commit comments

Comments
 (0)