Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Action for automatically opening pull requests with translation updates #2273

Open
8 tasks
louh opened this issue Mar 3, 2021 · 1 comment
Open
8 tasks

Comments

@louh
Copy link
Member

louh commented Mar 3, 2021

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.
@Isaiah6225
Copy link

I am looking to contribute to your project. Is this issue still open?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants