Skip to content

Commit 5610428

Browse files
author
Anna Gringauze
committed
Remove CI failure notification
1 parent 5127a06 commit 5610428

File tree

2 files changed

+1
-36
lines changed

2 files changed

+1
-36
lines changed

.github/workflows/dart.yml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -396,26 +396,3 @@ jobs:
396396
- job_003
397397
- job_004
398398
- job_005
399-
job_012:
400-
name: Notify failure
401-
runs-on: ubuntu-latest
402-
if: "(github.event_name == 'push' || github.event_name == 'schedule') && failure()"
403-
steps:
404-
- run: |
405-
curl -H "Content-Type: application/json" -X POST -d \
406-
"{'text':'Build failed! ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}'}" \
407-
"${CHAT_WEBHOOK_URL}"
408-
env:
409-
CHAT_WEBHOOK_URL: "${{ secrets.BUILD_AND_TEST_TEAM_CHAT_WEBHOOK_URL }}"
410-
needs:
411-
- job_001
412-
- job_002
413-
- job_003
414-
- job_004
415-
- job_005
416-
- job_006
417-
- job_007
418-
- job_008
419-
- job_009
420-
- job_010
421-
- job_011

mono_repo.yaml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,6 @@ github:
88
pull_request:
99
env:
1010
DISPLAY: ':99'
11-
on_completion:
12-
- name: "Notify failure"
13-
runs-on: ubuntu-latest
14-
# Run only if other jobs have failed and this is a push or scheduled build.
15-
if: (github.event_name == 'push' || github.event_name == 'schedule') && failure()
16-
steps:
17-
- run: >
18-
curl -H "Content-Type: application/json" -X POST -d \
19-
"{'text':'Build failed! ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}'}" \
20-
"${CHAT_WEBHOOK_URL}"
21-
env:
22-
CHAT_WEBHOOK_URL: ${{ secrets.BUILD_AND_TEST_TEAM_CHAT_WEBHOOK_URL }}
23-
11+
2412
merge_stages:
2513
- analyzer_and_format

0 commit comments

Comments
 (0)