Configure a git identity before the review agent runs

Đang mở
#112 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@muspi-merol-review đang làm issue này rồi.

Từ ngày 16/11/2026.

  • #115 của @muspi-merol-review — đang mở

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
1/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
git, github-actions, typescript
Lĩnh vực
devops

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
0
Fork
0
Merge trung bình
1 giờ 39 phút
Pull request đã merge (30 ngày)
84

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của promplate/code-review

Tất cả issue của promplate/code-review

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.