- Published on
Vercel Deployment Failure - Git Author Permission Issue
- Authors
- Name
- hwahyeon
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:
- Invite the GitHub commit author to the Vercel project
Go to the Vercel dashboard → Teams → Settings → Members and invite the commit author to the project. Then assign the necessary permissions.
- 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
- Modify Vercel settings (Optional)
Go to the Vercel dashboard → Project Settings → Vercel Authentication → All Deployments (Protect all Preview and Production Deployments).