diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4645d13..09a0526 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,6 +67,7 @@ jobs: - name: Pytest coverage comment id: coverageComment + if: github.event_name == 'push' && github.ref_name == 'main' uses: MishaKav/pytest-coverage-comment@main with: pytest-xml-coverage-path: ./coverage_combined.xml