From 27fdaf328ce3f21270b5e304eeb945aceccbe9f1 Mon Sep 17 00:00:00 2001 From: Yoshikage Kira <8bit_yoshikage_kira@proton.me> Date: Sun, 7 Jul 2024 02:57:12 -0400 Subject: [PATCH] Fixes an issue with code coverage action --- .github/workflows/code_coverage.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/code_coverage.yaml b/.github/workflows/code_coverage.yaml index ffc9c00..1c44a42 100644 --- a/.github/workflows/code_coverage.yaml +++ b/.github/workflows/code_coverage.yaml @@ -17,7 +17,9 @@ jobs: steps: - uses: actions/checkout@v4 with: - persist-credentials: false + persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token + fetch-depth: 0 # otherwise, you will fail to push refs to dest repo + - uses: actions/setup-python@v5 with: python-version: "3.11"