Skip code coverage uploading on PR from forked repos (#172)
This commit is contained in:
parent
0d594f561e
commit
a1c00eea52
|
@ -26,7 +26,7 @@ jobs:
|
|||
- name: Run tests
|
||||
run: bundle exec rake
|
||||
- name: Publish code coverage
|
||||
if: ${{ success() }}
|
||||
if: ${{ success() && env.CC_TEST_REPORTER_ID }}
|
||||
uses: paambaati/codeclimate-action@v2.7.5
|
||||
env:
|
||||
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
|
||||
|
|
Loading…
Reference in New Issue