`on.<push|pull_request|pull_request_target>.<paths|paths-ignore>` should indicate how to match on git submodules

Đang mở Phù hợp với người mới
#44,228 4 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
88/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

Start with the workflow syntax article's on.push|pull_request|pull_request_target.paths|paths-ignore section and review the linked PowerDNS comparison for context. Update the article to explain that changes in a git submodule should match the top-level submodule path rather than paths inside it; verify the wording and links render correctly.

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

Mô tả

content github_actions needs SME never-stale
Code of Conduct
What article on docs.github.com is affected?

https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#onpushpull_requestpull_request_targetpathspaths-ignore

What part(s) of the article would you like to see updated?

Add a note that for changes to files in git submodules, the path to the changed top level submodule should be used (instead of the path to files within the submodule).

Additional information

It took a couple of attempts for a dev to figure out the correct way to make this work: https://github.com/PowerDNS/pdns/compare/56c6b1011d488e26673320b9d54aa4a3bce6a28d..a13665dcb8f9d57033820f53d83aa3e387ca9ecb

Ngôn ngữ chính
TypeScript
Star
20.9k
Fork
68.8k
Merge trung bình
13 giờ 43 phút
Pull request đã merge (30 ngày)
110

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

Mở hướng dẫn đóng góp

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 github/docs

Tất cả issue của github/docs

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.