Skip to content

chore/disable-dependabot-vercel-previews - #140

Merged
spizeck merged 1 commit into
mainfrom
chore/disable-dependabot-vercel-previews
Sep 27, 2026
Merged

spizeck merged 1 commit into
mainfrom
chore/disable-dependabot-vercel-previews

Conversation

@spizeck

@spizeck spizeck commented Sep 27, 2026 •

Copy link
Copy Markdown
Owner

Description

Prevents Vercel Preview Deployments from being created for Dependabot branches.

Adds a root vercel.json with a git.deploymentEnabled rule that disables deployments matching dependabot/*.

No other Vercel behavior is configured or changed. Vercel will continue to use the project's existing settings and automatic Next.js framework detection.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Testing

  • I have tested this locally
  • I have added tests for new functionality
  • All tests pass

Validated that the new vercel.json is valid JSON and contains only the Dependabot deployment exclusion.

Checklist

  • Code follows the style guidelines of this project
  • Self-review completed
  • Documentation updated if necessary
  • No console errors
  • Mobile responsive

Screenshots

Not applicable. Configuration-only change.

Additional Notes

Dependabot branches matching dependabot/* will no longer generate Vercel Preview Deployments.

Normal development branch and pull request previews remain enabled. Production deployment behavior is unchanged.

Summary by Sourcery

Disable Vercel Preview Deployments for Dependabot branches while preserving existing deployment behavior elsewhere.

Bug Fixes:

  • Prevent Vercel Preview Deployments from being created for Dependabot branches.

Deployment:

  • Configure Vercel to keep deployments enabled for normal development and pull request branches while excluding branches matching dependabot/* without changing production deployment behavior.

@sourcery-ai

sourcery-ai Bot commented Sep 27, 2026 •

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Adds a minimal root vercel.json configuration that prevents Vercel Preview Deployments for Dependabot branches while preserving all other Vercel deployment behavior.

File-Level Changes

Change Details Files
Add a root Vercel configuration rule to skip preview deployments for Dependabot branches.
  • Create vercel.json with a git.deploymentEnabled pattern matching dependabot/*.
  • Leave framework detection, existing project settings, normal preview deployments, and production behavior unchanged.
vercel.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@vercel

vercel Bot commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
deepdivebrewing-web Ready Ready Preview Sep 27, 2026 4:16pm UTC

Request Review

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@spizeck
spizeck merged commit b36d762 into main Sep 27, 2026
4 checks passed
@spizeck
spizeck deleted the chore/disable-dependabot-vercel-previews branch September 27, 2026 16:45

This branch was successfully deployed

1 active deployment
Preview — a261bfe5 Deployed Sep 27, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant