diff --git a/.github/workflows/per-commit.yml b/.github/workflows/per-commit.yml index 3ffb783e65..9c28db8e52 100644 --- a/.github/workflows/per-commit.yml +++ b/.github/workflows/per-commit.yml @@ -65,6 +65,7 @@ jobs: uses: ./.github/workflows/analysis.yml deploy-doc: - if: github.event_name == 'push' + # do not run on PR events + if: ( ! github.event_name == 'pull_request' ) needs: documentation uses: ./.github/workflows/deploy-doc.yml