Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

`github.event.issue.author_association` returns `CONTRIBUTOR` when `MEMBER` is also true

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

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
github, github-actions, typescript
Lĩnh vực
api, ci-cd

Hướng nghiên cứu

Start by examining how github.event.issue.author_association is populated for pull request events and how GitHub Actions exposes contributor and member status. Reproduce the case with a member who has merged a pull request, then compare the observed association with the expected member check. Done means a reliable way to identify member-opened pull requests is documented or implemented.

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

Mô tả

Describe the bug
For pull requests opened by a MEMBER, github.event.issue.author_association returns CONTRIBUTOR.

To Reproduce
Steps to reproduce the behavior:

  1. Have a MEMBER of a repo, who has also contributed (merged a PR), open a new PR.

Expected behavior
Have a way to see if the author is a member, which can gate workflows in public repositories to only run when a PR is opened by a MEMBER.

Ngôn ngữ chính
TypeScript
Star
5k
Fork
586
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

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 actions/github-script

Tất cả issue của actions/github-script

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.