second attempt to skip codecov on PRs from forks

This commit is contained in:
Alok Saldanha
2025-11-05 06:47:33 -05:00
parent d16a97906c
commit 34ac73ba01
+1 -1
View File
@@ -55,7 +55,7 @@ jobs:
coverage xml -i
- name: "Upload coverage to Codecov"
if: ${{ secrets.CODECOV_TOKEN != '' }}
if: ${{ github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) }}
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}