Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Gioee opened this issue Feb 18, 2025 · 0 comments
Open

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

Gioee opened this issue Feb 18, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@Gioee
Copy link

Gioee commented Feb 18, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant