Release commits use the wrong noreply email for mlc-automations

Đang mở Phù hợp với người mới
#336 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đá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
80/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
git, github-actions, yaml
Lĩnh vực
ci-cd, release

Hướng nghiên cứu

Mở .github/workflows/build_wheels.yml và tìm dòng git config user.email trong bước release-commit; so sánh nó với lookup gh api "/users/${slug}%5Bbot%5D" --jq .id đã được dùng trong .github/workflows/format.yml. Thay ID app bị hardcode bằng ID người dùng bot, hoặc dùng lại lookup đó để không có gì bị hardcode. Hoàn thành nghĩa là các commit từ workflow được gán cho mlc-automations[bot] và MLC CLA Check không còn gắn cờ chúng; chạy lại sau khi rebase các PR bên ngoài bị chặn là bước kiểm tra thực tế.

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

Mô tả

.github/workflows/build_wheels.yml sets the commit identity to:

git config user.email "[email protected]"

3246381 is the mlc-automations App's app ID. GitHub links a noreply address by the user ID in it, so these commits are attributed to an unrelated account (user 3246381, since deleted), including the "Bump VERSION to 1.3.8 / 1.3.9" commits on main.

The App's bot user is mlc-automations[bot] (ID 272923709), so the email should be:

272923709+mlc-automations[bot]@users.noreply.github.com

or the same lookup format.yml already uses (gh api "/users/${slug}%5Bbot%5D" --jq .id), so nothing is hardcoded.

This matters now because the new CLA check (MLC CLA Check) treats those commits as coming from an account that can't sign, so a PR containing them is blocked; commits under the App's bot identity are exempt automatically. mlcommons/mlperf-automations#1044 and #1057 are blocked the same way, by format commits made before format.yml was fixed in September; a fresh format run after a rebase would clear them.

cc @mlcommons/wg-benchmark-infra

Ngôn ngữ chính
Python
Star
14
Fork
17
Merge trung bình
4 ngày 3 giờ
Pull request đã merge (30 ngày)
2

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

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 mlcommons/mlcflow

Tất cả issue của mlcommons/mlcflow

Issue tương tự

Thêm issue về Python

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.