I have a project that has the following environment setup:
- Production -
mainbranch gets deployed on push - Staging (custom environment) -
stagingbranch gets deployed on push - Preview - branch tracking disabled, no preview deployments
We have preview deployments disabled due to our unique database structure which doesn't allow for database branching via Vercel. We plan to work around this by using GitHub CI instead of Vercel CI, but that's later down the road.
The problem is that whenever I have a pull request on a branch that's not main or staging, the Vercel bot marks the deploy as failed with the error Preview deployments are disabled for this project.
This is fine, but it's kind of annoying to see checks failing when deployment shouldn't even be a check:

Is there a way around this at all?