From bb63536d055b8c8520cd989f3aac2b1aeafbfff0 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 30 Jun 2024 19:42:38 +0200 Subject: [PATCH] fix so that publish only happens when event_name is 'pull_request' --- .github/workflows/workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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