Skip to content

How do I prevent the Vercel for GitHub integration comments?

If required, it is possible to prevent the Vercel for GitHub integration from commenting on pull requests and commits. This article covers how to achieve this for your project while still benefitting from the Preview Deployments the integration provides.

Preventing Comments

To prevent the Vercel for GitHub integration from adding comments to pull requests and commits, you will need to add the following configuration to your vercel.json file:

1
{
2
"github": {
3
"silent": true
4
}
5
}
Adding configuration to prevent the Vercel for GitHub integration from commenting on pull requests and commits.

If your project did not previously contain a vercel.json file, you can create one containing only the code found above.

For more information on configuring the Vercel for GitHub integration, please see the Vercel documentation.

NOTE: It is currently not possible to prevent comments only for specific branches. If you wish to see this option made available, please provide us with this feedback.

Couldn't find the guide you need?