github / github/vscode-github-actions

feat: github actions extension linter-ignore file and ignore settings

Abierto
#414 2 comentarios 14 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
TypeScript
Estrellas
660
Forks
213
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

**Is your feature request related to a problem? Please describe.**

In certain GitHub actions, deprecated fields or configurations that are caught by the GitHub actions VSCode extension's linter do still work or exist in certain versions of a GitHub action.

For example, in the screenshot below, the `command: manifest` configuration in Google's release-please GitHub action does still function, but GitHub actions VSCode extension still considers this an error.

![Screenshot 2024-11-04 104641](https://github.com/user-attachments/assets/acb0d73c-1dd9-462b-a90d-7cb2cdf7e3b1)

**Describe the solution you'd like**

I want to be able to add a new comment OR surrounding comments OR a VSCode extension settings file (local to workspace, directory, or user) that will suppress the GitHub actions VSCode extension's linter from highlighting an error.

E.g., adding `// gh-actions-ignore` to a line suppresses the linter, OR adding a `.githubactionsignore` file will allow certain files to go unread by the extension (similar to `.gitignore`), OR a general regex filter in the extensions' VSCode settings

**Additional context**

N/A

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

No source file or test is named. Start by tracing how the GitHub Actions VS Code extension linter reports errors and how workspace, directory, or user settings are handled. Done means users can suppress selected linter errors through a documented mechanism, with coverage for the chosen ignore behavior.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
github-actions, typescript, vscode
Área
ci-cd, devtools
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Tranquilo
Claridad
Necesita aclaración
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.