From 9a1d8df523c04e2a84906304801f09963886b5c6 Mon Sep 17 00:00:00 2001 From: Jonathan Gillespie Date: Tue, 24 Sep 2024 11:34:07 -0400 Subject: [PATCH] Changed build.yml to only validate the core package version number for non-draft pull requests --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8ab8326b3..0d7f617d1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,7 +50,7 @@ jobs: - './nebula-logger/core/**' - name: 'Authorize Dev Hub' - if: ${{ (github.event_name == 'pull_request') && (steps.changes.outputs.core == 'true') }} + if: ${{ (github.event_name == 'pull_request') && (github.event.pull_request.draft == false) && (steps.changes.outputs.core == 'true') }} shell: bash run: | npx sf version @@ -63,7 +63,7 @@ jobs: DEV_HUB_JWT_SERVER_KEY: ${{ secrets.DEV_HUB_JWT_SERVER_KEY }} - name: 'Verify package version number is updated' - if: ${{ (github.event_name == 'pull_request') && (steps.changes.outputs.core == 'true') }} + if: ${{ (github.event_name == 'pull_request') && (github.event.pull_request.draft == false) && (steps.changes.outputs.core == 'true') }} run: npm run package:version:number:verify - name: 'Verify LWC with ESLint'