diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c31a94e7c..6fb7da72d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -48,7 +48,7 @@ jobs: - name: Create coverage run: coverage xml - name: Upload to Codecov - if: github.repository == 'useblocks/sphinx-needs' && matrix.os == 'ubuntu-latest' + if: github.event.pull_request.head.repo.full_name == github.repository && github.repository == 'useblocks/sphinx-needs' && matrix.os == 'ubuntu-latest' uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }}