From 16329e467a448d9691c6994d6dbfd16cea085b7d Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Sun, 14 Jun 2026 04:44:27 -0400 Subject: [PATCH] codecov: disable_safe_directory + continue-on-error (fix ~/.gitconfig lock race on shared-home self-hosted runners) Co-Authored-By: Chris Rackauckas Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/documentation.yml | 3 +++ .github/workflows/downstream.yml | 3 +++ .github/workflows/tests.yml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 3eadbaa..0f1b3fc 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -113,7 +113,10 @@ jobs: - name: "Report Coverage with Codecov" uses: codecov/codecov-action@v7 if: "${{ inputs.coverage && steps.coverage-dirs.outputs.directories != '' }}" + continue-on-error: true with: files: lcov.info flags: "docs" token: "${{ secrets.CODECOV_TOKEN }}" + disable_safe_directory: true + fail_ci_if_error: false diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index 8a6144f..da0c991 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -114,6 +114,9 @@ jobs: - name: "Report Coverage with Codecov" if: "${{ inputs.coverage }}" uses: codecov/codecov-action@v7 + continue-on-error: true with: files: lcov.info token: "${{ secrets.CODECOV_TOKEN }}" + disable_safe_directory: true + fail_ci_if_error: false diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 00ce11f..f470671 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -226,6 +226,9 @@ jobs: - name: "Report Coverage with Codecov" uses: codecov/codecov-action@v7 if: "${{ inputs.coverage && steps.coverage-dirs.outputs.directories != '' }}" + continue-on-error: true with: files: lcov.info token: "${{ secrets.CODECOV_TOKEN }}" + disable_safe_directory: true + fail_ci_if_error: false