From 019c99eebf30abee48e02c6447f9d758ad01794d Mon Sep 17 00:00:00 2001 From: Xavier Delaruelle Date: Thu, 17 Sep 2026 20:41:56 +0200 Subject: [PATCH] codecov: post PR comment only when coverage is at stake Codecov posts a comment on every pull request, even when the change is fully covered and project coverage does not move. Such comments carry no actionable information and only add noise to the review. Set 'require_changes' so the comment is posted only if project coverage drops or the patch contains uncovered lines. The commit status check is unaffected and keeps reporting the coverage result on every PR. Assisted-by: Claude:claude-fable-5-1 Signed-off-by: Xavier Delaruelle --- codecov.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/codecov.yml b/codecov.yml index 1cc1f00ab..10a493e53 100644 --- a/codecov.yml +++ b/codecov.yml @@ -5,6 +5,7 @@ codecov: comment: layout: "condensed_header, condensed_files, condensed_footer" behavior: new + require_changes: "coverage_drop OR uncovered_patch" coverage: status: