A GitHub Action that submits new versions of an extension created with WXT for review.
Only pnpm is supported.
- 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 }}
input | required | default | description |
---|---|---|---|
dry-run |
false |
Dry Run Flag | |
root-path |
. |
The root path of the wxt project |
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 |
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 |
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 |
This project is licensed under the MIT License - see the LICENSE file for details.