imjasonh / ideas

A place for me to file issues against myself for things I want to build when I'm bored
5 stars 0 forks source link

GitHub Action to publish to Chrome Webstore using OIDC #99

Open imjasonh opened 2 years ago

imjasonh commented 2 years ago

https://github.com/Klemensas/chrome-extension-upload-action seems to work, but requires passing in a long-lived refresh token and(/or?) client secret. Instead, we could try to use Workload Identity support in https://github.com/google-github-actions/auth to get a configured SA's short-lived access token, then use that to publish using the Publish API: https://developer.chrome.com/docs/webstore/using_webstore_api/

The result would be a bit more upfront setup, but shorter-lived tokens and nothing stored in GitHub secrets.