Skip to content
News

AI insights

Vercel CI Adds Public GitHub Repositories: Fork PR Guardrails to Pricing

Vercel CI officially supports public GitHub repositories with Turborepo task graph parallelism, dashboard approval gates for fork PRs, and CPU minute billing.

Vercel CI Adds Public GitHub Repositories: Fork PR Guardrails to Pricing

Q. Is it safe to enable Vercel CI on public GitHub repositories with open-source contributors? Pull requests from forks do not run automatically. A team member must explicitly approve each run in the Vercel dashboard before any CI task executes, preventing malicious code or secret exfiltration from abusing repository CI permissions.

⚠️ Accuracy guardrail: This article is based on the official Vercel changelog announcement (by Anthony Shew) and Vercel CI documentation published on December 1, 2026. Vercel CI is currently in Beta and supports Linux base environments and GitHub repositories only. Features and policies may evolve before general availability, and support timelines for non-GitHub git forges (such as GitLab) are not specified in official documentation.

30-second summary

  • Public repository support: Vercel CI, previously limited to private repositories, can now be enabled for public GitHub projects with a single vercel ci enable command.
  • Fork PR approval gate: Pull requests submitted from external forks are prevented from running automatically until a team member explicitly grants approval in the Vercel dashboard.
  • Turborepo task graph integration: Tasks tagged with "tags": ["ci"] in turbo.json are executed in parallel, while unaffected tasks are skipped or restored instantly via Vercel Remote Cache.
  • CPU minutes billing: Hobby plans include 200 CPU minutes per month at no charge, while Pro plans bill on a consumption basis at $0.0035 per CPU minute.
  • Agent skill setup: Developers can prompt coding agents with npx skills use vercel/ci@setup to automate task selection and pull request creation.

Vercel CI development desk setup

Why Public Repositories Need Fork Approval Guardrails

Running continuous integration pipelines for open-source repositories carries inherent security risks: secret exfiltration and compute abuse through malicious pull requests from external forks.

In standard CI environments like GitHub Actions, pull requests from unknown contributors can introduce scripts designed to mine cryptocurrency or dump environment secrets if workflow triggers are misconfigured.

When announcing public repository support on December 1, 2026, Vercel implemented a strict Approval Gate mechanism that isolates fork pull requests by default while preserving the frictionless setup of private repositories.

Aspect Internal Team Branch Push External Fork Pull Request
Execution Trigger Automatic parallel execution upon push Blocked from automatic execution
GitHub Checks Status Running / In Progress Approval Required (links to dashboard)
Permission Isolation Team CI secrets injected into runner No access to repository secrets before approval
New Commits Pushed Re-runs affected task graph Requires a new explicit team approval per attempt

Vercel CI Public Repository Pipeline Architecture Diagram

Advertisement

3-Step Setup: From CLI Activation to turbo.json Tagging

Configuring Vercel CI for a public repository requires Turborepo 2.11.7 or later and Vercel CLI 64.3.1 or later.

1. Enable Vercel CI via CLI

After linking the local repository to a Vercel project, execute:

vercel ci enable

This command registers the repository for CI webhook events within your Vercel team project.

2. Declare Tasks in turbo.json

Vercel CI inspects the root turbo.json configuration and executes only tasks marked with "tags": ["ci"]:

{
  "$schema": "https://turbo.build/schema.json",
  "tasks": {
    "build": {
      "dependsOn": ["^build"]
    },
    "test": {
      "dependsOn": ["^build"],
      "tags": ["ci"]
    },
    "lint": {
      "tags": ["ci"]
    }
  }
}

When a commit is pushed, Vercel CI resolves task dependencies automatically. If test depends on ^build, Vercel CI schedules the upstream builds before testing without manual concurrency scripts.

3. Automated Configuration with Agent Skills

You can instruct coding agents like Claude Code or Cursor to inspect project dependencies and prepare configuration pull requests automatically:

Set up Vercel CI for this repository. Run `npx skills use vercel/ci@setup` and follow the skill's instructions to select initial tasks, configure Vercel CI, and open a pull request.

Vercel Changelog announcement capture

Architecture: Task Graph Resolution and Container Isolation

Vercel CI departs from monolithic virtual machine runners through two core architectural design decisions:

  1. Minimal task execution: Turborepo determines the exact subset of packages impacted by git diffs. Unaffected tasks are skipped entirely.
  2. Zero-config Remote Caching: Built-in Vercel Remote Cache replays previously verified task artifacts instantly across all branches and team members.
  3. Isolated compute per task: Each task executes inside its own sandboxed compute instance with dedicated resources rather than queuing sequentially on a shared host.
  4. Source forge feedback: Task statuses report back to GitHub Checks, enforcing branch protection rules and blocking broken pull requests from merging.

Pricing: How CPU Minutes Are Calculated

Vercel CI bills compute usage in CPU minutes, matching the pricing model used for Vercel Builds.

Plan Tiers and Inclusions

Plan Pricing & Limits
Hobby (Free) 200 CPU minutes included per month
Pro $0.0035 per CPU minute (pay-as-you-go)
Enterprise Custom pricing and volume agreements

Calculation Formula

Compute time is measured from container start to shutdown and multiplied by the number of allocated vCPUs (rounded up to the next second):

$$ ext{CPU minutes} = ext{vCPUs} imes ext{Duration (minutes)}$$

  • Bootstrapping step: Allocates 4 vCPUs by default for dependency resolution (ci.bootstrapping.resources.vcpus).
  • Task execution step: Allocates 2 vCPUs per task instance by default (ci:cpus).
  • Restored or skipped tasks: Tasks restored from remote cache consume 0 CPU minutes.

For example, a bootstrap run lasting 30 seconds (0.5 min) with two parallel test tasks taking 60 seconds (1.0 min) each consumes:

  • Bootstrapping: $4 imes 0.5 = 2 ext{ CPU min}$
  • Task 1: $2 imes 1.0 = 2 ext{ CPU min}$
  • Task 2: $2 imes 1.0 = 2 ext{ CPU min}$
  • Total: 6 CPU minutes (approx. $0.021 on Pro).

Current Limitations

Before migrating public repositories to Vercel CI, keep the following operational constraints in mind:

  1. Linux base image only: macOS and Windows native build targets are currently unsupported.
  2. GitHub exclusive: GitHub is the only supported source code forge during the Beta period.
  3. Trigger scope: Tasks trigger strictly via git push. Cron or manual UI dispatch triggers are not yet exposed.
  4. Single-team mapping: A repository cannot be connected to projects across multiple Vercel teams simultaneously.

Toris's take

Here is Toris Studio's assessment of Vercel CI for production and open-source teams:

  1. Highly recommended for Turborepo and Next.js open-source maintainers: It eliminates fragile GitHub Actions cache configurations (actions/cache, custom caching proxies) and consolidates web deployments with CI checks under one unified dashboard.
  2. Review your review bottleneck before enabling on high-traffic repositories: Because every fork PR requires explicit manual approval from a team member, teams must ensure maintainers have dashboard access to prevent community PRs from stalling.
  3. Generous for solo creators on the Hobby plan: 200 free CPU minutes per month provide plenty of testing headroom for modern monorepos where caching skips the majority of redundant builds.

For further insights into modern cloud deployment and sandboxing architectures, explore Toris Studio's guides on Vercel Sandbox Lifecycle Webhooks, Vercel Firewall CLI Rules, and Vercel Drives Standalone SDK.

Sources

Advertisement