Skip to content

Commit 61d1978

Browse files
Update email format 2
1 parent 49c6b68 commit 61d1978

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
@@ -71,7 +71,7 @@ jobs:
7171
retention-days: 30
7272

7373
- name: Send schedule notification on failure
74-
if: github.event_name == 'schedule' && steps.result.outputs.status == 'failure'
74+
if: (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && steps.result.outputs.status == 'failure'
7575
env:
7676
LOGICAPP_URL: ${{ secrets.EMAILNOTIFICATION_LOGICAPP_URL_TA }}
7777
ACCELERATOR_NAME: ${{ env.accelerator_name }}
@@ -87,7 +87,7 @@ jobs:
8787
-d @- || echo "Failed to send notification"
8888
8989
- name: Send schedule notification on success
90-
if: github.event_name == 'schedule' && steps.result.outputs.status == 'success'
90+
if: (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && steps.result.outputs.status == 'success'
9191
env:
9292
LOGICAPP_URL: ${{ secrets.EMAILNOTIFICATION_LOGICAPP_URL_TA }}
9393
ACCELERATOR_NAME: ${{ env.accelerator_name }}

0 commit comments

Comments
 (0)