Feature Request: Improve compatibility with SHA pinning best practices
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 35/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- github-actions, typescript, vscode
- Domaine
- ci-cd, developer-experience, devtools
Piste de recherche
Aucun fichier ni test n'est nommé. Commencez par suivre les flux existants de l'extension pour les annotations inline et la mise à niveau de version, puis déterminez comment les références SHA correspondent aux tags semver publiés. C'est terminé lorsque le comportement convenu de verrouillage par SHA est implémenté pour les propositions sélectionnées et vérifié à travers les interactions entre annotations et mises à niveau.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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!
- Langage dominant
- TypeScript
- Étoiles
- 661
- Forks
- 214
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de github/vscode-github-actions
-
enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
github/vscode-github-actions#627 · 1 réaction ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 20/100
github/vscode-github-actions#630 ·
-
long work Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
github/vscode-github-actions#628 ·
-
bug
Difficulté 3/5 1-2 jours Accessibilité débutants 55/100
github/vscode-github-actions#625 ·
-
bug
Difficulté 3/5 1-2 jours Accessibilité débutants 64/100
github/vscode-github-actions#621 · 3 commentaires ·
Toutes les issues de github/vscode-github-actions
Issues similaires
-
blocklist removal
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
MetaMask/eth-phishing-detect#296544 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
pastelsky/bundlephobia#1122 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100