Skip to content

Commit

Permalink
Merge pull request #148 from NipunaRanasinghe/master
Browse files Browse the repository at this point in the history
Disable build failure notifications
  • Loading branch information
NipunaRanasinghe authored Apr 4, 2024
2 parents f1a0e2a + f93157d commit 30790b1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 31 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,3 @@ jobs:

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3

# Send notification when build fails
- name: Alert notifier on failure
if: failure() && (github.event.action == 'check_connector_for_breaking_changes')
run: |
curl -X POST \
'https://api.github.com/repos/ballerina-platform/ballerina-release/dispatches' \
--header 'Accept: application/vnd.github.v3+json' \
--header 'Authorization: Bearer ${{ secrets.BALLERINA_BOT_TOKEN }}' \
--data-raw '{
"event_type": "notify-ballerinax-connector-build-failure",
"client_payload": {
"repoName": "module-ballerinax-slack",
"workflow": "CI"
}
}'
15 changes: 0 additions & 15 deletions .github/workflows/daily-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,3 @@ jobs:

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3

# 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-slack\"
}
}"

0 comments on commit 30790b1

Please sign in to comment.