diff --git a/.github/workflows/tests_emulator.yml b/.github/workflows/tests_emulator.yml index cb2a294b4d20..ba0949b3670e 100644 --- a/.github/workflows/tests_emulator.yml +++ b/.github/workflows/tests_emulator.yml @@ -197,4 +197,4 @@ jobs: - uses: codecov/codecov-action@v5 with: verbose: true - fail_ci_if_error: true # optional (default = false) + fail_ci_if_error: ${{ github.repository == 'ankidroid/Anki-Android' }} # optional (default = false) diff --git a/.github/workflows/tests_unit.yml b/.github/workflows/tests_unit.yml index b3c55edc8799..fe16cd20f50f 100644 --- a/.github/workflows/tests_unit.yml +++ b/.github/workflows/tests_unit.yml @@ -180,4 +180,4 @@ jobs: - uses: codecov/codecov-action@v5 with: verbose: true - fail_ci_if_error: true # optional (default = false) + fail_ci_if_error: ${{ github.repository == 'ankidroid/Anki-Android' }} # optional (default = false)