mirror of
https://github.com/Novartis/cellxgene-gateway.git
synced 2026-09-27 04:38:12 +08:00
second attempt to skip codecov on PRs from forks
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user