diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 2fc3e61a..6a3ea09a 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -46,6 +46,6 @@ jobs: install: true github-token: ${{ secrets.GITHUB_TOKEN }} annotations-pytest: ${{ matrix.python == '3.12' && true || false }} - pytest-coverage: ${{ matrix.python == '3.12' && github.event_name == 'pull_request' && true || false }} + pytest-coverage: ${{ matrix.python == '3.12' && github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && true || false }} env: UV_PYTHON: ${{ matrix.python }}