Dependabot docs disagree on when the ecosystem label is added, and on its name (github-actions vs github_actions)
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 83/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- documentation
Hướng nghiên cứu
Đọc phần tham khảo tùy chọn về hành vi mặc định của Dependabot và data/reusables/dependabot/default-labels.md, nội dung cung cấp văn bản cho bài viết tùy chỉnh. Đồng nhất quy tắc nhãn hệ sinh thái trong cả hai bài viết và đổi ví dụ GitHub Actions thành github_actions. Hoàn tất khi hai mô tả thống nhất và ví dụ khớp với tên nhãn được báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
- https://docs.github.com/en/code-security/reference/supply-chain-security/dependabot-options-reference#labels--
- https://docs.github.com/en/code-security/tutorials/secure-your-dependencies/customizing-dependabot-prs (its default-labels text comes from
data/reusables/dependabot/default-labels.md)
What part(s) of the article would you like to see updated?
The two articles describe Dependabot's default labels in ways that contradict each other:
-
When the ecosystem label is added. The options reference (
labels→ "Dependabot default behavior") says the ecosystem label is added only when more than one package manager is defined. The customizing article (thedefault-labelsreusable) says both thedependencieslabel and the ecosystem label are added to all pull requests, single-ecosystem updates included. Both can't be right; the observed behavior matches the second (see below). -
The name of the GitHub Actions ecosystem label. The reusable uses
github-actionsas an example, but the label Dependabot actually creates and applies isgithub_actions, with an underscore.
Expected outcome: both articles state the same rule for the ecosystem label, and the GitHub Actions example uses the label name Dependabot really applies.
Additional information
Reproduced in a private repository whose dependabot.yml has a single entry (package-ecosystem: github-actions, no labels option) and that had neither label beforehand. Dependabot's first version-update pull request created both labels and applied them: the pull request's events show dependabot[bot] adding dependencies and github_actions. The github_actions label it created had the description "Pull requests that update GitHub Actions code".
- Ngôn ngữ chính
- TypeScript
- Star
- 21k
- Fork
- 69k
- Merge trung bình
- 9 giờ 35 phút
- Pull request đã merge (30 ngày)
- 105
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- 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 github/docs
-
Broken page layout on non-English translated versions of "Models and pricing for GitHub Copilot"Đang mởcontent triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
Maintainer thường phản hồi trong vòng 1 ngày
-
GPT 6.1 SolCó thể đã có người làm @ShyneChikwapulo đã nhận 2 ngày trước. Đang mởcontent triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
github/docs#46246 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Should mention you need enterprise in order to get insightsCó thể đã có người làm @vrushabhakamdi-dev đã nhận 1 ngày trước. Đang mởcontent driver persona triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
github/docs#46242 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Clarify vars context availability in composite actionsCó thể đã có người làm @alok-108 đã nhận 2 ngày trước. Đang mởcontent triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
github/docs#46232 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update model availability under data residency pageCó thể đã có người làm @alok-108 đã nhận hôm nay. Đang mởcontent driver persona triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày