github / github/vscode-github-actions

Suggest to update a new major version of Action

Open
#238 1 comment 12 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
660
Forks
213
PR merge metrics
No merged PRs in 30d

Description

**Describe the solution you'd like**

Let's say I use the `actions/setup-go` in my workflow file:

```yaml
- name: Set up Go
uses: actions/setup-go@v3
with:
cache: true
go-version-file: go.mod
```

I'd like this extension to show me yellow underline telling me to update to v4 of this action, so I'd have:

```yaml
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
```

Small feature but would be nice to have it!

Contributor guide

Open the contributing guide

Research direction

Start by locating the extension's validation or diagnostic handling for `uses` entries in the workflow YAML example. Check how action versions are currently identified, then verify the feature with a workflow using `actions/setup-go@v3`; it is done when that reference receives a yellow underline recommending `@v4` without altering unrelated references.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, typescript
Domain
ci-cd, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.