github / github/vscode-github-actions

Syntax highlight error: Did not highlight comment after string value

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

描述

**Describe the bug**

In the screenshot below, the comment `# Cache causes errors on macOS` wasn't highlighted as comment.

screenshot

```yaml
- name: Cache
uses: actions/cache@v4
timeout-minutes: 2
continue-on-error: true
if: matrix.os != 'macos-latest' # Cache causes errors on macOS
with:
path: |
~/.cargo
target
key: ${{ github.job }}-${{ runner.os }}-${{ hashFiles('rust-toolchain') }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ github.job }}-${{ runner.os }}-${{ hashFiles('rust-toolchain') }}-${{ hashFiles('**/Cargo.lock') }}
${{ github.job }}-${{ runner.os }}-${{ hashFiles('rust-toolchain') }}-
```

**To Reproduce**

Already provided

**Expected behavior**

Highlight comment as comment

**Screenshots**

Already provided

**Extension Version**
`v1.28.1`

**Additional context**
Add any other context about the problem here.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

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

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