From 33a9606ef26eb61e2f886fc0039f9357df462e42 Mon Sep 17 00:00:00 2001 From: Azeem Muzammil Date: Tue, 1 Aug 2023 14:35:49 +0530 Subject: [PATCH] Disable failure notification --- .github/workflows/daily-build.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/.github/workflows/daily-build.yml b/.github/workflows/daily-build.yml index e32e2dd..19eac91 100644 --- a/.github/workflows/daily-build.yml +++ b/.github/workflows/daily-build.yml @@ -58,18 +58,3 @@ jobs: echo "Covered Code Lines : ${{fromJson(steps.test_results.outputs.testResultsJson).coveredLines}}" echo "Total Code Lines : $(expr ${{fromJson(steps.test_results.outputs.testResultsJson).missedLines}} + ${{fromJson(steps.test_results.outputs.testResultsJson).coveredLines}})" echo "Code Coverage Percentage : ${{fromJson(steps.test_results.outputs.testResultsJson).coveragePercentage}}" - - # Send notification when build fails - - name: Notify failure - if: ${{ failure() }} - run: | - curl -X POST \ - 'https://api.github.com/repos/ballerina-platform/ballerina-release/dispatches' \ - -H 'Accept: application/vnd.github.v3+json' \ - -H 'Authorization: Bearer ${{ secrets.BALLERINA_BOT_TOKEN }}' \ - --data "{ - \"event_type\": \"notify-build-failure\", - \"client_payload\": { - \"repoName\": \"module-ballerinax-microsoft.excel\" - } - }"