From 1ceccc666787b5d20fe1fb0bb1a684448f66e65e Mon Sep 17 00:00:00 2001 From: Nicolas Kruk Date: Fri, 6 Dec 2024 14:10:46 -0500 Subject: [PATCH] fix: skip validate pr for dependabot --- .github/workflows/validate-pr.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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