github / github/vscode-github-actions
Input key checks are unnecessarily case-sensitive
- 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ả
**Describe the bug**
There are a lot of contexts whose possible input keys are case insensitive. For example, both `secrets.BANANA` and `secrets.banana` work just fine (from the [github secrets docs](https://docs.github.com/en/actions/security-guides/encrypted-secrets#naming-your-secrets): "Names are not case-sensitive."). This applies to secrets, with blocks, and many more. The extension currently erroneously reports an error when not using the same casing as the definition
**To Reproduce**
Steps to reproduce the behavior:
1. Create repo secret called "BANANA"
2. Use secret via secrets.banana
**Expected behavior**
No error is reported
**Screenshots**

**Extension Version**
`v0.25.4`
**Additional context**
-
Hướng dẫn đóng góp
Hướng nghiên cứu
Start by locating the extension's validation logic for input keys, especially references to secrets and with blocks. Reproduce the reported case with a definition named BANANA and a reference to secrets.banana; done means no error is reported for case differences in supported case-insensitive contexts.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- github-actions, typescript
- Lĩnh vực
- ci-cd, developer-experience
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- 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
- 45/100