From 423d92a9ba4da5955a19bc37a94acd0f1553ff03 Mon Sep 17 00:00:00 2001 From: Anastasiia Ivanchenko Date: Sun, 7 Jun 2026 17:29:12 +0300 Subject: [PATCH] Skip Vercel preview deploys on Dependabot pull requests. Dependabot PRs cannot access repository secrets, so preview deployment always failed at vercel pull with a missing token. Co-authored-by: Cursor --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c0b781..273e7b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,10 @@ jobs: preview: name: Preview deployment needs: verify - if: github.event_name == 'pull_request' + if: >- + github.event_name == 'pull_request' && + github.actor != 'dependabot[bot]' && + github.event.pull_request.head.repo.full_name == github.repository continue-on-error: true runs-on: ubuntu-latest steps: