From 8bfb26d68ffdd75d8bf7d70ae097bb105159332f Mon Sep 17 00:00:00 2001 From: Qinqi Qu Date: Thu, 6 Jul 2023 11:27:05 +0800 Subject: [PATCH] action: reduce the number of times the codecov tool sends comments This patch alleviates the problem that codecov frequently sending emails to users when PR is updated. Signed-off-by: Qinqi Qu --- .github/codecov.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/codecov.yml b/.github/codecov.yml index be29974de12..614736d1811 100644 --- a/.github/codecov.yml +++ b/.github/codecov.yml @@ -14,12 +14,12 @@ coverage: comment: layout: "reach, diff, flags, files" behavior: default - require_changes: false # if true: only post the comment if coverage changes + require_changes: true # if true: only post the comment if coverage changes codecov: require_ci_to_pass: false notify: - wait_for_ci: false + wait_for_ci: true # When modifying this file, please validate using # curl -X POST --data-binary @codecov.yml https://codecov.io/validate \ No newline at end of file