Skip to content

Commit

Permalink
Do not run codecov on forked PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed May 6, 2023
1 parent d31662d commit d9d8378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
S3DEPLOY_TEST_SECRET: ${{ secrets.S3DEPLOY_TEST_SECRET }}
run: go test -race ./... -coverpkg=./... -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage
if: success() && matrix.platform == 'ubuntu-latest'
if: success() && matrix.platform == 'ubuntu-latest' && !github.event.pull_request.head.repo.fork
run: |
curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import # One-time step
curl -Os https://uploader.codecov.io/latest/linux/codecov
Expand Down

0 comments on commit d9d8378

Please # to comment.