diff --git a/.github/workflows/pytest-cov-comment.yml b/.github/workflows/pytest-cov-comment.yml index 88c96173..e61f2d6e 100644 --- a/.github/workflows/pytest-cov-comment.yml +++ b/.github/workflows/pytest-cov-comment.yml @@ -49,6 +49,7 @@ jobs: set -o pipefail pytest --cov=textdescriptives --cov-report term-missing | tee pytest-coverage.txt - name: Pytest coverage comment + if: ${{ github.event_name == 'push' }} id: coverage-comment uses: MishaKav/pytest-coverage-comment@v1.1.28 with: