Repository navigation
Publish releases to the Chrome Web Store automatically - #11
Merged
Merged
Conversation
Adds a step to the Release workflow that uploads the built zip and publishes it via the Chrome Web Store API, using OAuth credentials already stored as repo secrets and the item ID as a repo variable. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Rhylanscript
approved these changes
Sep 26, 2026
Rhylanscript
left a comment
Collaborator
There was a problem hiding this comment.
PR summary
- Adds a Chrome Web Store publish step to the release workflow.
- Uses the existing OAuth secret set (
CWS_CLIENT_ID,CWS_CLIENT_SECRET,CWS_REFRESH_TOKEN) plus the extension ID from repo vars. - Uploads the same zip already built for the GitHub release, then calls publish and treats
OKandITEM_PENDING_REVIEWas success. - Updates the release docs in
README.mdto describe the new behavior.
Core changes
- The new workflow step is gated correctly after the GitHub release step, so it only runs when the release artifact exists.
- The script fails loudly on missing/invalid OAuth token, failed upload, or unexpected publish status. That’s the right failure mode for a release automation job.
- The workflow explicitly checks for the Chrome Web Store response states it considers success, which reduces false positives.
Conclusion
PR is low risk and fine to merge
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CWS_CLIENT_ID/CWS_CLIENT_SECRET/CWS_REFRESH_TOKENrepo secrets, targets the item ID now stored in theCWS_EXTENSION_IDrepo variable (helpjocjlgoieoajcballcfigoecdbmp).OKandITEM_PENDING_REVIEWas success, fails the job on any other outcome.Test plan