github / github/vscode-github-actions

Input key checks are unnecessarily case-sensitive

未關閉
#106 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
TypeScript
星號
660
分支
213
PR 合併指標
30 天內沒有已合併 PR

描述

**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**
![image](https://github.com/github/vscode-github-actions/assets/45497981/dcb25ab1-1dba-4757-b10e-549d77498181)

**Extension Version**
`v0.25.4`

**Additional context**
-

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。