github / github/vscode-github-actions

`Required property is missing: shell`

オープン
#378 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
TypeScript
スター
660
フォーク
213
PR マージ指標
30日以内にマージされた PR はありません

説明

**Describe the bug**

The VS Code extension lacks critical linting support. Specifically, when creating a Composite Action, it fails to provide a warning that a `shell` property is required. I only became aware of this after pushing an update and encountering the following error:

`.github/actions/aws-config/action.yml (Line: 18, Col: 7): Required property is missing: shell`

**Expected behavior**
The VS Code extension should display a warning when authoring a Composite Action for each step that meets the following conditions:
- `run` property is used
- `shell` property is not specified

**Extension Version**
`v0.26.3`

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

複合アクションのステップに対する VS Code 拡張機能の検証処理を特定し、issue の例を再現してください。ステップが shell なしで実行された場合に警告が表示され、shell が指定されたステップでは警告が発生しないことを確認してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
github-actions, typescript, vscode
領域
ci-cd, developer-experience, tooling
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。