ホーム AI・IT Vercel won't deploy even though I pushed—the culprit is the 'commit author email'

Vercel won't deploy even though I pushed—the culprit is the 'commit author email'

東條 淳平 東條 淳平 • 更新: • 公開: • 読了約 24 分
目次

I wrote the code properly. I even pushed it to GitHub. Yet, the Vercel dashboard doesn't react at all. The build doesn't even start. There isn't even an error message.
This 'lack of response' is the most troublesome type of deployment stall. It's because there are no clues as to what is wrong. I have seen non-engineers waste endless amounts of time here.

Today, I will write a supplementary note on how to isolate one of the culprits: the 'mismatch in commit author email'.

A 'lack of response' is worse than an error

n0859257324f3

If it were a build error, red text would appear. The cause would be written there. There would be a way to fix it. But in this case, the push is successful, yet Vercel does not create a deployment. At first glance, it looks like the integration has been severed.
However, sometimes there is a brief comment from the Vercel Bot in the deployment list on the Vercel side or in the Git commits.

The error cited by the official Vercel KB is "Git author must have access to project" (the author of this commit does not have access to the project). The integration is not broken.You are simply being rejected with a 'Who are you?' message.

Mechanism: Vercel checks whose commit it is using the 'email address'

Why are you being rejected? If you look at it in order, it's simple.
When GitHub determines 'whose' a commit pushed from the terminal is, it uses the email address in the local Git settings. The official GitHub documentation states: 'GitHub uses the email address set in your local Git configuration to associate commits pushed from the command line with your account'.
Vercel performs one more check beyond that.It verifies whether the commit author's email belongs to a Vercel account that has access to that project.

The requirements differ by plan; for the free Hobby plan, the owner of the team must commit, and for Pro, a member of the team must commit, otherwise Vercel will not create a deployment.

Furthermore, for private repositories, the official documentation explicitly states that as an 'additional security measure', a deployment is only created if the commit author has access to the project on the Vercel side.

In other words, the chain is as follows.

Local Git email → Person on GitHub → Vercel access rights. This chain is connected by a single email address. Therefore, if the email in the middle is not the person's own, it stops at the end because they are considered a 'different person'. It is a classic case where an anti-impersonation mechanism rejects the well-intentioned user themselves.

A common entry point: entering a 'random email' during setup

This is where the initial settings come into play. Immediately after installing Git, you are asked for a username and email via git config.

There are many cases where people enter random values they don't intend to use in production (like a makeshift email such as test@test.com).
Especially when having an AI do it, there are cases where they don't even recognize this.
Since it doesn't interfere with operation checks, they forget about it.

That 'random email' continues to be engraved as the author of every commit.

Because it is a ghost email that is not linked to any account on GitHub, the Vercel chain breaks at the end.

A state where the person is doing it, but according to the settings, a person who is no one is committing.

This only becomes apparent in private repos, which causes further confusion, leading people to say, 'It worked in the public repo'.
Another hidden entry point is GitHub's 'Keep my email addresses private' setting. If you enable this, a noreply email is assigned for commits. The format is either username@users.noreply.github.com or numericID+username@users.noreply.github.com, depending on when the account was created and the settings. If you don't match your local Git email to this noreply address, the chain will be misaligned as well. You can check which format is yours on the GitHub email settings screen.

How to fix it: future commits and past commits

Perform isolation and correction in this order.
1. Check the current author email. See whose name the most recent commit is under.
2. Align future commits to the correct person. As guided by the official Vercel documentation, correct the email in your Git settings to your own.
The email used here should be one that has been added to and verified by your GitHub account.

You can just have an AI do both.You could even copy this entire article and say, 'Can you check what's going on with this?'

If you have private settings enabled, use the aforementioned noreply format. Once corrected, make one small change, commit it, push it, and see if Vercel reacts.

Note that there is a pitfall where fixing it with --global might not work. Git settings have three levels: system, global, and local, and the narrower level takes precedence. In other words, if an old user.email (local setting) remains only in that repository, it will continue to be overwritten regardless of how many times you fix the --global setting. If you run git config user.email (without options) inside the repository, the effective value currently in use will be displayed, so check that. If it is different, run git config user.email "your email" in that repository to fix the local setting.

3. If it still doesn't connect, check the linking on the Vercel side. Check if the "login integration" with your Git provider (GitHub, etc.) is connected in your Vercel account settings, and verify that you are a member of the project's team. If you have the same Git account connected to multiple Vercel accounts, they will conflict, so organize them in that case.

4. For past ghost commits, rewrite the author. Even if you fix the settings, commits already made under the "dummy email" name will remain as they are. If the deployment target is the latest commit, it is often sufficient to overwrite the recent author with the current settings using git commit --amend --reset-author and push again. If you need to fix multiple commits, use git rebase to change the authors (since this rewrites history, do so only after reaching a consensus on shared branches).

Conclusion

The typical way to waste time when "Vercel is unresponsive despite pushing" is the case where Vercel rejects the commit as if it were someone else, saying "Git author must have access to project" due to a dummy author email entered during setup. Therefore, first check the author email with git log -1, align git config user.email with the email address verified on GitHub, and if necessary, rewrite the author of past commits with --amend --reset-author and push again.

If you reconnect this chain (local Git email → GitHub user → Vercel access rights) into a single line, you can overcome the wall of unresponsiveness.
---

Sources

- Vercel Docs, "Why aren't commits triggering deployments on Vercel?" (Official KB): Causes and fixes for the error "Git author must have access to project". It specifies that commits are rejected if the author email does not match the verified email of the Git account, that you should align them using git config --global user.name/user.email, that you should check the author with git log -1 <commit-hash>, that emails must match in lowercase, and that you should check Vercel login integration, team membership, and multiple account conflicts. https://vercel.com/kb/guide/why-aren-t-commits-triggering-deployments-on-vercel
- Vercel Docs, "Troubleshoot project collaboration": For Hobby plans, the team owner must commit, and for Pro plans, a team member must commit for deployment to occur. In private repositories, as an additional security measure, deployments only occur if the commit author has access to the project on the Vercel side. https://vercel.com/docs/deployments/troubleshoot-project-collaboration
- GitHub Docs, "Setting your commit email address": GitHub uses the email address in your local Git configuration to associate commits pushed from the command line with your account. To attribute commits to yourself, you must add that email to your GitHub account. With private email settings, a noreply email in the format username@users.noreply.github.com or (depending on the account age/settings) ID+username@users.noreply.github.com is used. https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/setting-your-commit-email-address
- Git Docs, "git-config": Git settings are read in the hierarchy of system / global (--global) / local (per-repository), and values in the narrower (local) hierarchy override those in the wider hierarchy. You can check the effective value with git config user.email. https://git-scm.com/docs/git-config
- Primary material (educational examples and proper nouns anonymized): The bottleneck of "entering a dummy email during setup and Vercel becoming unresponsive later" is based on a real-world case that actually caused long-term rework in training for practitioners. The technical causes, behaviors, and correction procedures have all been verified against the aforementioned public primary information (official Vercel/GitHub).







同じカテゴリの記事

東條 淳平

スポーツと芸能が交差する話題を担当。大会公式記録と所属先の発表を突き合わせ、数字は必ず出典付きで扱います。

おすすめの関連記事