diff --git a/.github/workflows/validate-pr.yml b/.github/workflows/validate-pr.yml index adfafbd..50bf197 100644 --- a/.github/workflows/validate-pr.yml +++ b/.github/workflows/validate-pr.yml @@ -2,10 +2,11 @@ name: pr-validation on: pull_request: - types: [opened, reopened, edited] + types: [opened, reopened, edited, labeled, unlabeled] # only applies to PRs that want to merge to main branches: [main, 252-patch] jobs: pr-validation: + if: ${{ !contains(github.event.pull_request.labels.*.name, 'dependencies') }} uses: salesforcecli/github-workflows/.github/workflows/validatePR.yml@main