-
Notifications
You must be signed in to change notification settings - Fork 273
Description
Currently, if we want to publish an extension to Open VSX from a CI environment like GitHub Actions, we need to hard-code a long-lived token. Recently, there has been a push by many package repositories to move to a "trusted publishing" model, where they use OpenID Connect (OIDC) to obtain a token instead of creating and hard-coding a long-lived one.
OpenSSF has a document with more information on how this works.
This issue should be considered complete when you can publish from at least one CI/CD platform using trusted publishing1. After this issue is closed, requests for new CI/CD platforms should probably go to a new issue.
(Please note this is different from #1494; that issue is about the CI/CD setup in this repository, while this is about publishing extensions.)
Footnotes
-
I suggest GitHub Actions and/or GitLab CI first due to their ubiquity. ↩