github / github/vscode-github-actions

Syntax highlight error: Did not highlight comment after string value

オープン
#531 コメント 1 件 リアクション 2 件 担当者 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 を短くまとめたダイジェスト。