From b02becaa00aef3d25b30588bf49affbf1e9a84a4 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 9 Jan 2018 11:15:55 -0800 Subject: [PATCH] Reduce codecov PR comments Attempt to reduce the number of comments posted by codecov to PR requests. Based on the codecov documenation setting "require_changes=yes" and "behavior=once" should result in a single comment under most circumstances. https://docs.codecov.io/v4.3.6/docs/pull-request-comments Signed-off-by: Brian Behlendorf Issue #7022 Closes #7025 --- .github/codecov.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/codecov.yml b/.github/codecov.yml index ab0f11d79..9ae962639 100644 --- a/.github/codecov.yml +++ b/.github/codecov.yml @@ -18,4 +18,5 @@ coverage: comment: layout: "reach, diff, flags, footer" - behavior: "new" # delete old, post new + behavior: once # update if exists; post new; skip if deleted + require_changes: yes # only post when coverage changes