Published on

Vercel Deployment Failure - Git Author Permission Issue

Authors
  • avatar
    Name
    hwahyeon
    Twitter

I have a repository B that was forked from repository A. B has been successfully deployed to Vercel before. However, after A was updated and B was synced, Vercel failed to update the website automatically and the deployment failed.

All checks have failed
1 failing check

Vercel - Git author ******* must have access to the project on Vercel to create deployments.

Cause:

The GitHub commit author does not have permission to access the Vercel project, which causes the deployment to fail. In this case, the commit brought into repository B was made by someone else (not me) in repository A. As a result, Vercel doesn't automatically deploy it, since this person doesn't have the necessary permissions.

Solution:

  1. Invite the GitHub commit author to the Vercel project

Go to the Vercel dashboard → TeamsSettingsMembers and invite the commit author to the project. Then assign the necessary permissions.

  1. Change the commit author

Change the commit author to an existing Vercel project member and push again:

git commit --amend --author="Your Name <your.email@example.com>"
git push -f
  1. Modify Vercel settings (Optional)

Go to the Vercel dashboard → Project SettingsVercel AuthenticationAll Deployments (Protect all Preview and Production Deployments).