From 917ddb09021c86d4c4f118a216eea995cbc86cf8 Mon Sep 17 00:00:00 2001 From: "FeRD (Frank Dana)" Date: Mon, 15 Mar 2021 16:45:17 -0400 Subject: [PATCH] Set checkout fetch depth for codecov See https://community.codecov.io/t/issue-detecting-commit-sha-please-run-actions-checkout-with-fetch-depth-1-or-set-to-0/2571 --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3ac30332..0bc414103 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,10 @@ jobs: steps: - uses: actions/checkout@v2 + # Work around a codecov issue detecting commit SHAs + # see: https://community.codecov.io/t/issue-detecting-commit-sha-please-run-actions-checkout-with-fetch-depth-1-or-set-to-0/2571 + with: + fetch-depth: 0 - uses: haya14busa/action-cond@v1 id: coverage