Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryohidaka/action-wxt-submit
A GitHub Action that submits new versions of an extension created with WXT for review.
https://github.com/ryohidaka/action-wxt-submit
actions github-actions webextension webextensions wxt
Last synced: about 1 month ago
JSON representation
A GitHub Action that submits new versions of an extension created with WXT for review.
- Host: GitHub
- URL: https://github.com/ryohidaka/action-wxt-submit
- Owner: ryohidaka
- License: mit
- Created: 2024-04-18T04:37:44.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-10-28T10:37:12.000Z (about 2 months ago)
- Last Synced: 2024-10-28T13:56:44.626Z (about 2 months ago)
- Topics: actions, github-actions, webextension, webextensions, wxt
- Language: Shell
- Homepage:
- Size: 279 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# WXT Submit
[![GitHub Release](https://img.shields.io/github/v/release/ryohidaka/action-wxt-submit)](https://github.com/ryohidaka/action-wxt-submit/releases/)
[![Test Action](https://github.com/ryohidaka/action-wxt-submit/actions/workflows/main.yml/badge.svg)](https://github.com/ryohidaka/action-wxt-submit/actions/workflows/main.yml)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/B0B6TVH92)
A GitHub Action that submits new versions of an extension created with [WXT](https://wxt.dev/) for review.
## Notes
Only **pnpm** is supported.
## Usage
```yml
- uses: ryohidaka/wxt-submit@v1
with:
dry-run: true
root-path: .# For Chrome Extension
chrome: true
chrome-extension-id: ${{ secrets.CHROME_EXTENSION_ID }}
chrome-client-id: ${{ secrets.CHROME_CLIENT_ID }}
chrome-client-secret: ${{ secrets.CHROME_CLIENT_SECRET }}
chrome-refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }}# For Firefox Addon
firefox: true
firefox-extension-id: ${{ secrets.FIREFOX_EXTENSION_ID }}
firefox-jwt-issuer: ${{ secrets.FIREFOX_JWT_ISSUER }}
firefox-jwt-secret: ${{ secrets.FIREFOX_JWT_SECRET }}# For Edge Extension
edge: true
edge-product-id: ${{ secrets.EDGE_PRODUCT_ID }}
edge-client-id: ${{ secrets.EDGE_CLIENT_ID }}
edge-client-secret: ${{ secrets.EDGE_CLIENT_SECRET }}
edge-access-token-url: ${{ secrets.EDGE_ACCESS_TOKEN_URL }}
```## Inputs
| input | required | default | description |
| ----------- | -------- | ------- | -------------------------------- |
| `dry-run` | | `false` | Dry Run Flag |
| `root-path` | | `.` | The root path of the wxt project |### For Chrome Extension
| input | required | default | description |
| ---------------------- | -------- | ------- | ------------------------------------ |
| `chrome` | | `false` | Flag whether to target chrome or not |
| `chrome-extension-id` | ✔ | | Chrome Extension ID |
| `chrome-client-id` | ✔ | | Chrome Client ID |
| `chrome-client-secret` | ✔ | | Chrome Client Secret |
| `chrome-refresh-token` | ✔ | | Chrome Refresh Token |### For Firefox Addon
| input | required | default | description |
| ---------------------- | -------- | ------- | ------------------------------------- |
| `firefox` | | `false` | Flag whether to target firefox or not |
| `firefox-extension-id` | ✔ | | Firefox Extension ID |
| `firefox-jwt-issuer` | ✔ | | Firefox JWT Issuer |
| `firefox-jwt-secret` | ✔ | | Firefox JWT Secret |### For Edge Extension
| input | required | default | description |
| ----------------------- | -------- | ------- | ---------------------------------- |
| `edge` | | `false` | Flag whether to target Edge or not |
| `edge-product-id` | ✔ | | Edge Product ID |
| `edge-client-id` | ✔ | | Edge Client ID |
| `edge-client-secret` | ✔ | | Edge Client Secret |
| `edge-access-token-url` | ✔ | | Edge Access Token URL |## Link
- [WXT](https://wxt.dev/)
- [Publishing](https://wxt.dev/guide/publishing.html#publishing)
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.