github / github/vscode-github-actions

Supress validation for a line/file

Đang mở
#123 9 bình luận 32 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
TypeScript
Star
660
Fork
213
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**Is your feature request related to a problem? Please describe.**
On some workflows, the linter will mark things as *potential* issues because of the way it was written. however, as a writer you have additional information and can possibly conclude that there is no problem. In that situation, having a linter warning is mildly annoying.

For example, I have a workflow that dynamically gets the name of a secret and the accesses `secrets[that value]`. Linter tell me that the context access *might* be invalid. this is correct, but I know that the only possible values should be valid or I've done something wrong elsewhere.

**Describe the solution you'd like**
I'd like to have something along the lines of #pylint: disable etc. for this extension, whether it be a comment ( similar to pylint or eslint ), a config file (e.g. for file x ignore y), an extension setting (ignore warnings of type/ ignore files). To suppress warnings that you know are invalid, to help reduce false positives for issues that the extension simply lacks context for, or to purge warnings that come from bugs of third party workflow authors.

**Additional context**
related: #59

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

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

Hướng nghiên cứu

Start by reviewing related issue #59 and the extension's existing warning and reporting entry points. Compare comment, configuration-file, and extension-setting approaches, including how they select warning types and files. Done means a defined, testable suppression mechanism with documented behavior for the example workflow warning.

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

Đánh giá

Công nghệ
typescript, vscode
Lĩnh vực
developer-experience, devtools
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

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.