diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index c6c7f6058..425d25c1b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -228,6 +228,8 @@ jobs: - name: "Coverage comment 💬" uses: py-cov-action/python-coverage-comment-action@v3 id: coverage_comment + # avoid running this on schedule or releases + if: github.event.workflow_run.event != 'schedule' && github.event.workflow_run.event != 'release' with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f95d078ef..f0f2999bc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,7 +17,7 @@ permissions: contents: read jobs: - # calls our tests workflow + # calls our general CI workflow (tests, build docs, etc.) tests: uses: ./.github/workflows/CI.yml