{"id":17707637,"url":"https://github.com/wdzeng/chrome-extension","last_synced_at":"2025-07-16T08:33:06.226Z","repository":{"id":37922979,"uuid":"491892343","full_name":"wdzeng/chrome-extension","owner":"wdzeng","description":"GitHub action for publishing extensions to Chrome Web Store!","archived":false,"fork":false,"pushed_at":"2024-03-23T14:30:55.000Z","size":364,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-24T07:22:01.580Z","etag":null,"topics":["chrome-extension","chrome-web-store","github-action","web-store"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wdzeng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-13T12:39:24.000Z","updated_at":"2023-08-16T08:51:57.000Z","dependencies_parsed_at":"2023-01-11T17:21:25.661Z","dependency_job_id":"99319ab6-d1f7-4480-a8e6-4fad1b4c4e36","html_url":"https://github.com/wdzeng/chrome-extension","commit_stats":{"total_commits":33,"total_committers":1,"mean_commits":33.0,"dds":0.0,"last_synced_commit":"71cbd31c0c68c888b0802d6a361afd1c624a473d"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/wdzeng/chrome-extension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdzeng%2Fchrome-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdzeng%2Fchrome-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdzeng%2Fchrome-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdzeng%2Fchrome-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wdzeng","download_url":"https://codeload.github.com/wdzeng/chrome-extension/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdzeng%2Fchrome-extension/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265497447,"owners_count":23776989,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chrome-extension","chrome-web-store","github-action","web-store"],"created_at":"2024-10-25T01:05:56.658Z","updated_at":"2025-07-16T08:33:06.181Z","avatar_url":"https://github.com/wdzeng.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chrome Extension\n\n[![version](https://img.shields.io/github/v/release/wdzeng/chrome-extension)](https://github.com/wdzeng/chrome-extension/releases/latest)\n[![license](https://img.shields.io/github/license/wdzeng/chrome-extension?color=red)](https://github.com/wdzeng/chrome-extension/blob/main/LICENSE)\n\nThis action publishes your Chrome extension to\n[Chrome Web Store](https://chrome.google.com/webstore/) using the\n[Chrome Web Store API v1.1](https://developer.chrome.com/docs/webstore/api_index/#items).\n\nThis action can only publish new version of an existing extension. Publishing new extension is not\nsupported.\n\n## Preparation\n\nFollowing items are required before publishing your Chrome extension:\n\n- A zip file to be uploaded.\n- An API client ID and secret.\n- A refresh token.\n\nPlease refer to this [tutorial](https://developer.chrome.com/docs/webstore/using_webstore_api/) for\nhow to generate API keys and refresh token.\n\n## Usage\n\nUnless otherwise noted with a default value, all options are required.\n\n- `extension-id`: the id of your extension; can be referred from the url of your extension page on\n  the Web Store.\n- `zip-path`: path to the zip file built in the previous steps. May include a glob pattern (only one\n  file must match)\n- `tester-only`: (boolean) `true` indicates publishing to testers only; default to `false`.\n- `upload-only`: (boolean) `true` indicates this extension will be uploaded without publishing\n  (you'll have to publish it manually); default to `false`.\n- `client-id`: your API client ID.\n- `client-secret`: your API client secret.\n- `refresh-token`: your refresh token.\n- `check-credentials-only`: (boolean) only test if given credentials are working; do not upload\n  or publish the extension; enabling this option will ignore `extension-id`, `zip-path`,\n  `tester-only` and `upload-only` and make these options optional; default to `false`.\n\nExample of uploading and publishing an extension:\n\n```yaml\nsteps:\n  - uses: wdzeng/chrome-extension@v1\n    with:\n      extension-id: your-extension-id\n      zip-path: your-extension.zip\n      client-id: ${{ secrets.CHROME_CLIENT_ID }}\n      client-secret: ${{ secrets.CHROME_CLIENT_SECRET }}\n      refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }}\n```\n\nExample of testing if credentials are working:\n\n```yaml\nsteps:\n  - uses: wdzeng/chrome-extension@v1\n    with:\n      client-id: ${{ secrets.CHROME_CLIENT_ID }}\n      client-secret: ${{ secrets.CHROME_CLIENT_SECRET }}\n      refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }}\n      check-credentials-only: true\n```\n\n## References\n\n- [Obtaining OAuth 2.0 access tokens](https://developers.google.com/identity/protocols/oauth2/web-server#httprest_1)\n- [Using the Chrome Web Store Publish API](https://developer.chrome.com/docs/webstore/using_webstore_api/)\n- [Chrome Web Store API](https://developer.chrome.com/docs/webstore/api_index/)\n\n## Sister Actions\n\n- [Edge Add-on Action](https://github.com/wdzeng/edge-addon)\n- [Firefox Add-on Action](https://github.com/wdzeng/firefox-addon)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwdzeng%2Fchrome-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwdzeng%2Fchrome-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwdzeng%2Fchrome-extension/lists"}