Configure a git identity before the review agent runs

オープン
#112 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@muspi-merol-review がすでに取り組んでいます。

2026年11月16日 から。

  • #115 @muspi-merol-review による — オープン

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
1/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
git, github-actions, typescript
領域
devops

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
0
フォーク
0
平均マージ
1時間 39分
マージ済み PR(30日)
84

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

promplate/code-review のほかの issue

promplate/code-review の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。