Skip to content

"uses: Actions@version" get a warning for newer versions #153

Open
@Gioee

Description

@Gioee

Is your feature request related to a problem? Please describe.
I'm always frustrated when I see workflows using old Actions versions, they're probably missing security and performance updates with the old versions. With huge workflows it's time consuming to check for each Actions if they're on their latest version.

Describe the solution you'd like
I would like to get a warning when in my workflows I use old versions of them. Just like when typing I write the wrong version and for example I get the error

Unable to resolve action actions/checkout@v4e, repository or version not found

Additional context
It seems easy to me to add this feature, I would like to do it by myself. Can I get the needs working or good first issue label to start working on it? I think I just need to add a check to the latest version here in the code and then push to diagnostics a DiagnosticSeverity.Warning or .Information as the severity key

There's already a related issue in the github/vscode-github-actions repo, however I do think this is the right way of doing it without adding new UI components to the main extension

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions