From 1fea48359ded0ca40f4fc6c300ebda14f0e3b858 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 4 Aug 2022 18:33:20 +0200 Subject: [PATCH] ci: Checkout head ref instead of merge commit for coverage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … this *should* fix bogus coverage change reporting. --- .github/workflows/coverage.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index cce8c0af0..09488a68d 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -18,6 +18,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + with: + ref: ${{ github.event.pull_request.head.sha }} - name: Install Rust uses: actions-rs/toolchain@v1