Skip to content

Commit

Permalink
116 Don't send coverage report on forked PRs (#117)
Browse files Browse the repository at this point in the history
* Skip coverage report for fork builds

* Run report coverage only on present secrets

* Skip reporting coverage on forks (#138)

Co-authored-by: mariusz.wojakowski <mariusz.wojakowski@getindata.com>

Co-authored-by: Mariusz Wojakowski <mariusz89016@gmail.com>
Co-authored-by: mariusz.wojakowski <mariusz.wojakowski@getindata.com>
  • Loading branch information
3 people committed Jul 18, 2022
1 parent 6964ae2 commit 9b609cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ jobs:
run: |
pip install tox-pip-version
tox -v -e py38
- name: Report coverage
if: (github.event.pull_request.head.repo.full_name || github.push.repository.full_name) == github.repository
uses: paambaati/codeclimate-action@v2.7.5
env:
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE }}
Expand Down

0 comments on commit 9b609cc

Please sign in to comment.