Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

"Unable to resolve action" for any action

Open
#433 5 comments 35 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
github-actions, typescript, vscode
Domain
tooling

Research direction

Reproduce the diagnostics in .github/workflows/dotnet.yml using actions/checkout@v4 and actions/setup-dotnet@v4, then trace the extension's action-resolution entry point. Confirm the fix by opening the Problems tab and verifying that valid actions no longer produce false repository or version errors.

Written by the indexing model from the issue text.

Description

bug

Every action in an .yml file gives an error Unable to resolve action "actions/checkout@v4", repository or version not found - even fundamental stuff like - uses: actions/checkout@v4

To Reproduce

  • Make a file like this one (autogenerated by github.com):
name: .NET
on:
  push:
    branches: [ "main" ]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - name: Setup .NET
      uses: actions/setup-dotnet@v4
      with:
        dotnet-version: 9.0.x
    - name: Restore dependencies
      run: dotnet restore
    - name: Build
      run: dotnet build --no-restore

  • Open the Problems tab in VSCode.
  • Lines 9 and 11 now give an error:
[{
	"resource": "/[repo_path]/.github/workflows/dotnet.yml",
	"owner": "_generated_diagnostic_collection_name_#7",
	"severity": 8,
	"message": "Unable to resolve action `actions/checkout@v4`, repository or version not found",
	"startLineNumber": 9,
	"startColumn": 13,
	"endLineNumber": 9,
	"endColumn": 32
}]

Expected behavior
Expected no false errors.

Screenshots
Screenshot 2024-12-15 at 17 51 22

Extension Version
v0.27.0

Additional context
Add any other context about the problem here.

Dominant language
TypeScript
Stars
661
Forks
214
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/vscode-github-actions

All issues in github/vscode-github-actions

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.