vscode-github-actions icon indicating copy to clipboard operation
vscode-github-actions copied to clipboard

Opening a folder containing multiple repos causes the VSC to display lots of highlighted errors

Open scott-doyland-burrows opened this issue 2 years ago • 3 comments

Rather than opening a single folder that contains a repo, I have a workspace that has multiple folders and each folder is one repo, so it looks like the first screenshot below.

When I do this, the GitHub Actions extension reports lots of false positives, some shown in the second/third/fourth screenshots - all these pass fine if I open just a single folder/repo.

Can the extension be updated so it can cope with the way I am opening a workspace/folders/repos?

image

image

image

image

scott-doyland-burrows avatar Mar 22 '23 16:03 scott-doyland-burrows

Another issue with this setup is that it seems as if the extension is unable to detect workflows Screenshot 2023-03-30 at 10 38 42

marcus13371337 avatar Mar 30 '23 08:03 marcus13371337

A couple of the errors are also known to be issues:

The error here: Image Should be resolved by: https://github.com/github/vscode-github-actions/issues/68

And the error here: Image Should be resolved by https://github.com/github/vscode-github-actions/issues/41

Once the above two issues are resolved and in main, we can try testing this out with multiple repos to see if they are still happening and try to get a repro.

KetchupOnMyKetchup avatar May 02 '23 21:05 KetchupOnMyKetchup

~~What about this really odd one:~~ This was my fault - I had used incorrect casing (albeit, GHA didn't mind). I had TerraformTfvars rather than TerraformTfVars.

image

image

Also noticed that comments are not always in the correct colour - in this case the commented out ${{ inputs.ENV }} should be green

image

and action.yaml files, ie for composite actions, do not seem to use the extension (I can open a separate issue for this - will check to see if there isn't already one).

scott-doyland-burrows avatar May 03 '23 14:05 scott-doyland-burrows