From de949c8c658b6511bfc8eff9d8547a6c3b9468f9 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Thu, 8 Aug 2024 20:08:03 +0200 Subject: [PATCH] Add confition to make nightly run work fine. --- .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 bda8b15a..33d1305c 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -543,7 +543,7 @@ jobs: PublishModule: name: Publish module - if: ${{ needs.TestModuleStatus.result == 'success' && !cancelled() && github.event_name == 'pull_request' }} + if: ${{ needs.TestModuleStatus.result == 'success' && !cancelled() && github.event_name == 'pull_request' && github.event.pull_request.merged == true}} needs: - TestModuleStatus runs-on: ubuntu-latest