Configure a git identity before the review agent runs

Aperta
#112 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@muspi-merol-review ci sta già lavorando.

Dal 16/11/2026.

  • #115 di @muspi-merol-review — aperta

Valutazione

Difficoltà
1/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
1/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
git, github-actions, typescript
Ambito
devops

Direzione di ricerca

Read scripts/configure-review.sh and the setup step that runs it. The issue includes the two Git identity settings to add; check how the script configures credential helpers and review the existing tests that pass -c user.name=fixture. Done when the review agent has a default Git name and email before it runs. An open linked pull request (#115) already addresses this issue.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

scripts/configure-review.sh configures credential helpers but no user.name / user.email. Any git commit, git merge or git push the agent runs fails first with:

Author identity unknown
...
fatal: empty ident name (for <runner@...>) not allowed

Seen in 10 runs, for example 43109756158, 43525813777 and 43571712008. The agent then retries with git -c user.name=..., costing a call each time; worse, git merge fails after commit-fix.sh already committed, which reads as a failed fix.

Set a default identity in the setup step:

git config --global user.name 'muspi-merol-review[bot]'
git config --global user.email '349105566+muspi-merol-review[bot]@users.noreply.github.com'

The repository's own tests already pass -c user.name=fixture, so they hide this gap.

Lingua principale
TypeScript
Stelle
0
Fork
0
Merge medio
1h 39m
PR unite (30g)
84

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di promplate/code-review

Tutte le issue di promplate/code-review

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.