Sticky PR comment: MVP that always posts the full table
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 68/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github-actions, javascript
- Lĩnh vực
- ci-cd
Hướng nghiên cứu
Read the action entry point and README to find how inputs, pull request events, and permissions are handled. Implement the opt-in comment: true behavior with direct REST API fetch calls, using a hidden HTML-comment marker to update the PR's existing comment; skip push events and warn without failing when permission is missing. Done when repeated runs keep one full-table comment per PR and the README documents the required pull-requests: write permission.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Split out of #4, scoped to the part #4 itself calls the straightforward piece: "upsert a single comment containing the registry table, keyed by a hidden marker."
Scope
Implement only the always-post-full-table behaviour, opt-in via with: comment: true, defaulting to off. No diff-against-base-branch logic (that's the second half of #4, split separately so it can be reviewed independently).
Acceptance criteria
-
comment: trueon apull_requestevent upserts one comment per PR, keyed by a hidden HTML-comment marker, editing the same comment on repeated runs instead of accumulating. - No-op on
pushevents. - Uses
fetchagainst the REST API directly (no new runtime dependency), per #4's existing constraint. - Missing/insufficient token permission (
pull-requests: write) produces a clear warning and the job still exits normally rather than failing the build over a comment it couldn't post. - README documents the required permission.
Complexity: medium.
Depends on: none; this can land before the diff-aware follow-up.
- Ngôn ngữ chính
- JavaScript
- Star
- 0
- Fork
- 0
- Merge trung bình
- 7 giờ 28 phút
- Pull request đã merge (30 ngày)
- 10
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của codepacct/codepact-action
-
documentation good first issue wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
codepacct/codepact-action#68 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
codepacct/codepact-action#67 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue tests wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
codepacct/codepact-action#66 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue tests wave
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 79/100
codepacct/codepact-action#65 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue tests wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
codepacct/codepact-action#64 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của codepacct/codepact-action
Issue tương tự
-
bug security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
IbrahimHafez1/loadwise#251 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 87/100
erkamyaman/unslop-anything#421 ·
Maintainer thường phản hồi trong vòng 1 ngày