Vercel 新增只為有開啟中 pull request 的分支建置預覽
Pull-request-only preset now available for preview builds
分支沒有開啟中的 pull request 時,預覽建置可能會消耗建置資源。
- Vercel 在 Ignored Build Step 新增預設選項,可略過這類分支的預覽建置。
- 有開啟中 pull request 的分支仍會建置預覽,正式環境部署也照常進行。GitHub 和 GitLab 專案中,被略過的預覽部署會在消耗 Build CPU Minutes 前取消。到專案的 Deployments > Configuration,在 Ignored Build Step 選擇 Only build previews for pull requests 並儲存,就能啟用這項設定。
AI 伴隨問答
針對這篇報導有疑問?可直接點選快捷問題或向 AI 追問背景脈絡與技術細節:
# Pull-request-only preset now available for preview builds - Vercel
Skip to content
[](https://vercel.com/home)
Copy Wordmark Copy Logo
Download Brand Assets Brand Guidelines
Products
Agent Stack
Core Platform
Tools
Resources
Learn
Build
Explore
Ask AIDashboard
- * *
Products
Agent Stack
Core Platform
Tools
Resources
Learn
Build
Explore
Pull-request-only preset now available for preview builds

Mehul KarMember of Technical Staff
17 Nov 2026
1 min read
Copy
A new Ignored Build Step preset lets you skip preview builds for branches without an open pull request. Production deployments and previews for branches with open pull requests continue to build.
On GitHub and GitLab projects, skipped preview deployments are canceled before consuming any Build CPU Minutes.
To enable this, open your project’s Deployments > Configuration. Under Ignored Build Step, select Only build previews for pull requests from the Behavior menu and click Save.




The pull-request-only preset fills in the ignore command automatically.
Learn more in the Ignored Build Step documentation.
Agent Stack
Core Platform
Security
Tools
Frameworks
SDKs
Build
Learn
Explore
Company
Legal & Trust
- Privacy Policy
- Terms of Service
- Cookie Policy
- DPA
- Acceptable Use Policy
- Legal (all documents)
- Trust Center
- Status
- Cookie Preferences
Social
Select a display theme:system light dark