Skip to content

Commit 36abada

Browse files
turegjorupclaude
andcommitted
chore: disable Codecov upload on the fork
The fork has no CODECOV_TOKEN secret, so the upload step fails with fail_ci_if_error: true and takes the whole PHP Unit tests check down with it. Comment the step out here; restore it (or supply a token) when promoting to upstream. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 36ae460 commit 36abada

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/pr.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,15 @@ jobs:
5555
docker compose exec -e XDEBUG_MODE=coverage phpfpm bin/console --env=test doctrine:migrations:migrate --no-interaction --quiet
5656
docker compose exec -e XDEBUG_MODE=coverage phpfpm vendor/bin/phpunit --coverage-clover=coverage/unit.xml
5757
58-
- name: Upload coverage to Codecov
59-
uses: codecov/codecov-action@v5
60-
with:
61-
token: ${{ secrets.CODECOV_TOKEN }}
62-
files: ./coverage/unit.xml
63-
fail_ci_if_error: true
64-
flags: unittests
58+
# Codecov upload disabled on the fork — no CODECOV_TOKEN secret.
59+
# Re-enable when promoting to upstream.
60+
# - name: Upload coverage to Codecov
61+
# uses: codecov/codecov-action@v5
62+
# with:
63+
# token: ${{ secrets.CODECOV_TOKEN }}
64+
# files: ./coverage/unit.xml
65+
# fail_ci_if_error: true
66+
# flags: unittests
6567

6668
fixtures:
6769
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)