Feature Request: Improve compatibility with SHA pinning best practices
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- github-actions, typescript, vscode
- Área
- ci-cd, developer-experience, devtools
Línea de trabajo
No se nombran archivos ni pruebas. Empieza rastreando los flujos existentes de la extensión para las anotaciones inline y la actualización de versiones; después, determina cómo las referencias SHA se asignan a las etiquetas semver publicadas. Se considerará terminado cuando el comportamiento acordado de fijación mediante SHA esté implementado para las propuestas seleccionadas y verificado en las interacciones entre las anotaciones y las actualizaciones.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Is your feature request related to a problem? Please describe.
With recent security escalations around unpinned SHAs and non-immutable release tags, the best practice in many orgs (and the best practice recommended by GitHub) is to hard-pin to SHA releases instead of semver refs.
However, this creates some issues in terms of readability and updates that otherwise would be nicely streamlined by this VS Code extension.
Describe the solution you'd like
- If the action is pinned to a SHA that is the same as a published semver tag, ideally that semver version would be shown inline in the extension annotation.
- If the user is pinned to a SHA and they click on the option to upgrade to the latest version, the extension would ideally recognize they are SHA-pinned and give them a SHA-pinned upgrade to that tag, rather than move to only pinning to the semver.
- If the user is pinned to a semver ref, the UI could give them an option to pin instead to the SHA ref that represents the latest from that semver. This could help users migrate to SHA-pinned references.
(Note: While both proposal 2 and proposal 3 are valuable together, they solve a similar problem. If proposal 3 is delivered, proposal 2 is less needed, and vice versa.)
Additional context
I think these features could go a long way to helping modernize GitHub Actions security, and make it more convenient for people keep their workflows safe (read: "safer") from exploits. Thanks!
- Lenguaje dominante
- TypeScript
- Estrellas
- 661
- Forks
- 214
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de github/vscode-github-actions
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
github/vscode-github-actions#627 ·
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
github/vscode-github-actions#625 ·
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 64/100
github/vscode-github-actions#621 · 3 comentarios ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 50/100
github/vscode-github-actions#619 ·
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 63/100
github/vscode-github-actions#618 · 2 comentarios ·
Todos los issues de github/vscode-github-actions
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
-
Add: Star Sports 2 Telugu HD Abiertocheck:passed streams:add
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100