diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3a5bbafd4..094115b56 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -229,6 +229,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