Skip to content

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

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

spizeck merged 1 commit into
masterfrom
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 git.deploymentEnabled rule to vercel.json that disables deployments matching dependabot/*.

The existing pick-reminder and weekly-recap Vercel cron schedules are unchanged.

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 vercel.json remains valid JSON and that both existing cron definitions and schedules are preserved unchanged.

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.

This change does not modify the existing Vercel cron jobs or their schedules.

Summary by Sourcery

Disable Vercel Preview Deployments for Dependabot branches without changing existing cron schedules or production deployments.

Bug Fixes:

  • Prevent Vercel Preview Deployments from being created for Dependabot branches matching dependabot/*.

Deployment:

  • Disable Vercel Preview Deployments for Dependabot branches while preserving normal preview and 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

Updates vercel.json to prevent Vercel Preview Deployments for Dependabot branches using a git.deploymentEnabled rule, without changing normal previews, production deployments, or existing cron jobs.

File-Level Changes

Change Details Files
Disable Vercel preview deployments for Dependabot branches while preserving existing deployment and cron behavior.
  • Add a git.deploymentEnabled rule matching dependabot/* branches.
  • Keep normal branch and pull request previews enabled.
  • Preserve production deployment behavior and both existing cron schedules.
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

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

1 Skipped Deployment
Project Deployment Actions Updated
nfl-picks Ignored Ignored Sep 27, 2026 4:18pm 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 cd7ff30 into master Sep 27, 2026
8 checks passed
@spizeck
spizeck deleted the chore/disable-dependabot-vercel-previews branch September 27, 2026 16:44
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