Summary
Vercel CI now supports public GitHub repositories. Setup and task configuration work the same way as for private repositories. From a local clone of your repository, run: In turbo.json , tag the tasks you want to run in Vercel CI: On each push, Vercel CI runs affected, uncached tasks tagged ci and any dependencies they need. It reuses cached results and skips unaffected tasks. For pull requests from forks, Vercel CI does not run automatically, since fork code would otherwise run with the repository’s CI permissions. The pull request’s Vercel CI check shows that approval is required and links to the approval page in the Vercel dashboard. A team member must approve each attempt on a fork pull request before it runs with the team’s CI permissions. Learn more in the CI documentation . Read more
Original text(via Vercel Blog)
Vercel CI now supports public GitHub repositories. Setup and task configuration work the same way as for private repositories.
From a local clone of your repository, run:
vercel ci enable
Enable Vercel CI for the repository.
In turbo.json, tag the tasks you want to run in Vercel CI:
{ "tasks": { "build": { "dependsOn": ["^build"] }, "test": { "dependsOn": ["^build"], "tags": ["ci"] } }}
Tag test for CI and declare the builds it depends on.
On each push, Vercel CI runs affected, uncached tasks tagged ci and any dependencies they need. It reuses cached results and skips unaffected tasks.
For pull requests from forks, Vercel CI does not run automatically, since fork code would otherwise run with the repository’s CI permissions.
The pull request’s Vercel CI check shows that approval is required and links to the approval page in the Vercel dashboard. A team member must approve each attempt on a fork pull request before it runs with the team’s CI permissions.
Learn more in the CI documentation.
The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.
Published by Vercel Blog
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗