From 15afd33ca352b22225539a032e86b263b102d93f Mon Sep 17 00:00:00 2001 From: Kankana Bordoloi Date: Wed, 28 Feb 2024 15:56:17 +0530 Subject: [PATCH] QA-6145 removed commented lines --- .github/workflows/request_api.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/request_api.yml b/.github/workflows/request_api.yml index f075cd21d..5cc8994c2 100644 --- a/.github/workflows/request_api.yml +++ b/.github/workflows/request_api.yml @@ -109,25 +109,20 @@ jobs: let FLAG = '' if (context.event_name == 'repository_dispatch' && CC_ENV == 'production') { SLACK_WEBHOOK_URL = '${{ secrets.SLACK_WEBHOOK_URL_PROD_RESULTS }}' -# FLAG = 'true' console.log( "Prod deploy") } else if (context.event_name != 'repository_dispatch' && CC_ENV == 'production' && JOB_STATUS == 'failure') { SLACK_WEBHOOK_URL = '${{ secrets.SLACK_WEBHOOK_URL_SMOKE }}' -# FLAG = 'true' console.log( "Not Prod deploy but Prof failure") } else if (CC_ENV == 'staging' && JOB_STATUS == 'failure') { SLACK_WEBHOOK_URL = '${{ secrets.SLACK_WEBHOOK_URL_SMOKE }}' -# FLAG = 'true' console.log("Staging Failure") } else { SLACK_WEBHOOK_URL = '' -# FLAG = 'false' console.log("No notification sent") } return { "SLACK_WEBHOOK_URL" : SLACK_WEBHOOK_URL -# "FLAG" : FLAG } - name: Post to Slack channel