mirror of
https://github.com/Novartis/cellxgene-gateway.git
synced 2026-10-09 05:48:11 +08:00
second attempt to skip codecov on PRs from forks
This commit is contained in:
@@ -55,7 +55,7 @@ jobs:
|
|||||||
coverage xml -i
|
coverage xml -i
|
||||||
|
|
||||||
- name: "Upload coverage to Codecov"
|
- 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
|
uses: codecov/codecov-action@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user