From a9b488f3abb644fc83dd9770205e171edf79b488 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julio=20L=C3=B3pez?= <1953782+julio-lopez@users.noreply.github.com> Date: Mon, 19 Oct 2026 16:35:09 -0700 Subject: [PATCH] fix(ci): use correct commit in coverage report (#5739) --- .github/workflows/code-coverage.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml index d4acdc136..e7980ee92 100644 --- a/.github/workflows/code-coverage.yml +++ b/.github/workflows/code-coverage.yml @@ -22,6 +22,8 @@ jobs: with: fetch-depth: 0 persist-credentials: false + # head commit, not merge commit in the case of PRs + ref: ${{ github.event.pull_request.head.sha || github.sha }} - name: Set up Go uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: