github / github/vscode-github-actions

`Required property is missing: shell`

未关闭
#378 7 条评论 0 个 reaction 已指派 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`

贡献指南

打开贡献指南

调研方向

Locate the VS Code extension's validation for composite action steps and reproduce the example from the issue. Verify that a warning appears when a step has run without shell, and that steps with shell specified do not trigger it.

由索引模型根据 Issue 内容生成。

评估

技术栈
github-actions, typescript, vscode
领域
ci-cd, developer-experience, tooling
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。