Feedback: `--no-narrow` should be the default

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

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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
57/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, go
Lĩnh vực
cli, devtools

Hướng nghiên cứu

Read the CLI entry point and the code that applies the --no-narrow option when a lockfile is present. Trace how the current default sets version ranges, then check the related tests for workflow dependency pinning. Done means the default keeps ranges as wide as possible while the option still behaves as documented.

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

Mô tả

area:cli feedback

The entire point of a lockfile is full 100% pinning. Thus, any further pinning offers zero benefit.

When I have @v2 in a workflow, I'm documenting my intention - to follow the v2 branch/tag. By narrowing, you're erasing the most important piece of information on that line - it's actively harmful.

Please change the default - with a lockfile present, ranges outside of that should be as WIDE as possible, not as narrow as possible.

Ngôn ngữ chính
Go
Star
253
Fork
15
Merge trung bình
19 giờ 30 phút
Pull request đã merge (30 ngày)
60

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 github/gh-actions-lock

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

Issue tương tự

Thêm issue về Go

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.