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:

{
    "github": {
        "silent": true
    }
}

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.


Last Edited on September 1st 2020