]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Reduce codecov PR comments
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 9 Jan 2018 19:15:55 +0000 (11:15 -0800)
committerGitHub <noreply@github.com>
Tue, 9 Jan 2018 19:15:55 +0000 (11:15 -0800)
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 <behlendorf1@llnl.gov>
Issue #7022
Closes #7025

.github/codecov.yml

index ab0f11d7966ffea8c1f2196194226311137423be..9ae962639e408664469961bfc98bc63a5b8801e5 100644 (file)
@@ -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