diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 6e99626..add315e 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -533,7 +533,7 @@ jobs: PublishModule: name: Publish module - if: ${{ needs.TestModuleStatus.result == 'success' && needs.LintDocs.result == 'success' && !cancelled() && github.event_name != 'schedule' }} + if: ${{ needs.TestModuleStatus.result == 'success' && needs.LintDocs.result == 'success' && !cancelled() && github.event_name == 'pull_request' }} needs: - TestModuleStatus - LintDocs