fix(bootstrap): require GitHub-linked GIT_AUTHOR_EMAIL — Vercel deploy block
Vercel rejected the smoke-test deploy with "The deployment was blocked because the commit author email (agent@scrum4me.local) is not valid. Ensure your git email matches your GitHub account." The default `agent@scrum4me.local` in repo-bootstrap.sh was a phony local domain not tied to any GitHub account. Vercel's deploy-protection checks the latest commit's author email and blocks unknown ones. Fix: error out with a helpful message if GIT_AUTHOR_EMAIL is unset, and document the GitHub noreply form (`<user-id>+<username>@users.noreply.github.com`) in `.env.example` as the recommended choice. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
aca661bb02
commit
6408706800
2 changed files with 26 additions and 2 deletions
13
.env.example
13
.env.example
|
|
@ -44,6 +44,19 @@ GH_TOKEN=ghp_vervang-mij
|
|||
# producten/repos toevoegt aan Scrum4Me.
|
||||
GH_PRECLONE_REPOS=madhura68/Scrum4Me,madhura68/scrum4me-mcp
|
||||
|
||||
# ----- Git commit-author -------------------------------------
|
||||
# Verplicht — Vercel weigert deploys waarvan de commit-author email
|
||||
# niet aan een GitHub-account hangt ("commit author email is not
|
||||
# valid"). Gebruik de noreply-vorm voor maximale privacy:
|
||||
#
|
||||
# github.com → Settings → Emails → "Keep my email private"
|
||||
# formaat: <user-id>+<username>@users.noreply.github.com
|
||||
#
|
||||
# Voorbeeld voor madhura68:
|
||||
# GIT_AUTHOR_EMAIL=12345678+madhura68@users.noreply.github.com
|
||||
GIT_AUTHOR_NAME=Scrum4Me Agent
|
||||
GIT_AUTHOR_EMAIL=vervang-mij@users.noreply.github.com
|
||||
|
||||
# ----- Scrum4Me database ------------------------------------
|
||||
# Beide URLs uit het Neon-dashboard. DATABASE_URL is pooled,
|
||||
# DIRECT_URL is unpooled — scrum4me-mcp gebruikt DATABASE_URL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue