We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 561057f commit c5129abCopy full SHA for c5129ab
1 file changed
.github/workflows/ci.yaml
@@ -68,9 +68,10 @@ jobs:
68
pytest-cloud.xml \
69
pytest.xml
70
71
+ # Disabled for forks because GITHUB_TOKEN doesn't have permissions to comment
72
- name: Pytest coverage comment
73
if: github.event_name == 'pull_request' && matrix.python-version ==
- env.COVERAGE_PYTHON
74
+ env.COVERAGE_PYTHON && !github.event.pull_request.head.repo.fork
75
uses: MishaKav/pytest-coverage-comment@v1
76
with:
77
pytest-xml-coverage-path: ./coverage.xml
0 commit comments