streetmix
streetmix copied to clipboard
GitHub Action for automatically opening pull requests with translation updates
A GitHub action that is essentially a cron job, which automatically checks Transifex for updates to translations, and creates new pull requests when needed.
- [ ] Check each day? week? (running jobs are cheap, but we need a strategy for dealing with PRs that aren't reviewed and merged in a timely manner)
- [ ] Runs the
./bin/download_translations.js
script- [ ] Requires the Transifex API token to be set in repository's secrets
- How does GitHub actions handle errors thrown by the script?
- [ ] If there are changes, create a commit and a pull request
- [ ] Bonus: commit message includes the updated locale codes
- [ ] Dealing with existing PRs.
- [ ] If there is a previously opened PR, and no changes have occurred since, don't create a new PR.
- [ ] If there is a previously opened PR, and more changes have occurred, append the commit to the existing PR.
- Bottom line: the action should never have more than one opened PR at a time.
I am looking to contribute to your project. Is this issue still open?