github / github/vscode-github-actions

`Required property is missing: shell`

Open
#378 7 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
660
Forks
213
PR merge metrics
No merged PRs in 30d

Description

**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`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.