From 51730096259a715d943a3f8f2cdcc715e9914ee9 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 19 Mar 2026 07:42:42 +0000 Subject: [PATCH] Limit push trigger to main in code-coverage workflow Same fix as check-recent: push: branches: '**' caused the workflow to run twice per PR commit (once for push, once for pull_request). Restricting push to [main] ensures coverage runs only once per PR update. https://claude.ai/code/session_01XHWLohiSTdZvCutwD7ag2b --- .github/workflows/codecovr.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codecovr.yaml b/.github/workflows/codecovr.yaml index f618bad32..5c9004f67 100644 --- a/.github/workflows/codecovr.yaml +++ b/.github/workflows/codecovr.yaml @@ -28,10 +28,12 @@ # ==================================================================== # on: - push: - branches: '**' pull_request: + # run on every PR update (once per push) branches: '**' + push: + # only on main; PR pushes are already covered by pull_request above + branches: [main] name: code-coverage