From bfccfbe62b32870690a20b2b332954e3b6f01dcb Mon Sep 17 00:00:00 2001 From: Raphael Simon Date: Sun, 28 Jan 2024 14:17:04 -0800 Subject: [PATCH] Fix DeepSource action When running on remote repos --- .github/workflows/report-coverage.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/report-coverage.yml b/.github/workflows/report-coverage.yml index e37136f711..18a4ca06c3 100644 --- a/.github/workflows/report-coverage.yml +++ b/.github/workflows/report-coverage.yml @@ -13,9 +13,9 @@ jobs: steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: - ref: ${{ github.event.pull_request.head.sha }} + ref: ${{ github.event.workflow_run.head_sha }} - name: Download test coverage uses: dawidd6/action-download-artifact@v3