From fd66d5774bf704e09264e15f633876e20c7fb8e9 Mon Sep 17 00:00:00 2001 From: Prashant-Microsoft Date: Fri, 30 Aug 2024 17:36:46 +0530 Subject: [PATCH] testing automation flow --- .github/workflows/deploy-stage.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-stage.yml b/.github/workflows/deploy-stage.yml index 78b66a537..9be2968ba 100644 --- a/.github/workflows/deploy-stage.yml +++ b/.github/workflows/deploy-stage.yml @@ -36,12 +36,12 @@ jobs: --template-file infra/main.bicep \ --parameters environmentName=pslautomation location=eastus2 - - name: Create Failure Issue + - name: Create Failure mail if: ${{ failure() }} uses: octokit/request-action@v2.x with: - route: POST /repos/${{ github.repository }}/issues - body: | + route: GET /repos/${{ github.repository }}/actions + mediaType: | { "title":"Deployment Failed", "body":"Deployment TEST failed for branch ${{ github.ref }}. Please check the logs. @v-pmalusare@microsoft.com",