Weblate and Add-on Submission
Closed this issue ยท 4 comments
@mikesilvo164
When you have a chance, I need a few things added from your side on GitHub.
To add this script to Weblate for translations I need a webhook added to this repository.
- https://github.com/mikesilvo164/script.skinshortcuts/settings/hooks/
- Payload URL:
https://kodi.weblate.cloud/hooks/github
- Which events would you like to trigger this webhook?:
Just the push event.
- Payload URL:
For automated add-on submission to Kodi's Official Repository I need a token/secret added to this repository.
-
Create a Personal Access Token with
repo
scope, and save it somewhere private for future use.
https://github.com/settings/tokens -
Add that token to this repositories secrets with the name
ADDON_SUBMISSION_TOKEN
https://github.com/mikesilvo164/script.skinshortcuts/settings/secrets/actions
If you have any questions, don't hesitate.
Cheers!
@anxdpanic Should be good to go, please let me know if I made a mistake ๐
Huge thank you! ๐
I won't be able to test the add-on submission part until it comes time, I don't expect any issues though.
I should have Weblate done today though ๐
If you want help with either of these in your other repositories in the future, just give me a ping!
@mikesilvo164
Can you have a look at the second part of this issue, authentication is failing for the submission, might be the token.
For automated add-on submission to Kodi's Official Repository I need a token/secret added to this repository.
Create a Personal Access Token with
repo
scope, and save it somewhere private for future use.
https://github.com/settings/tokensAdd that token to this repositories secrets with the name
ADDON_SUBMISSION_TOKEN
https://github.com/mikesilvo164/script.skinshortcuts/settings/secrets/actions
I will submit it manually this time, but good to have doubled checked for next time ๐
Thanks!
Looks like I used a token that expired. Made a new one without an expiration and added that to the ADDON_SUBMISSION_TOKEN
๐ค
When I click update to verify the repository secret, it is empty even though I pasted something there previously ๐ค