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'