Skip to content

Commit

Permalink
Changed build.yml to only validate the core package version number fo…
Browse files Browse the repository at this point in the history
…r non-draft pull requests
  • Loading branch information
jongpie committed Sep 24, 2024
1 parent 7ed59b8 commit 9a1d8df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand Down

0 comments on commit 9a1d8df

Please sign in to comment.