transifex-pull.yml 842 B

1234567891011121314151617181920212223242526272829
  1. name: Update translations from Transifex
  2. on:
  3. schedule:
  4. - cron: '0 1 * * 1'
  5. jobs:
  6. build:
  7. runs-on: ubuntu-latest
  8. steps:
  9. - uses: actions/checkout@v2
  10. - name: Install deps
  11. run: yarn
  12. - name: Update translations
  13. run: 'node scripts/transifex.js'
  14. env:
  15. TRANSIFEX_TOKEN: ${{ secrets.TRANSIFEX_TOKEN }}
  16. - name: Create pull request
  17. uses: peter-evans/create-pull-request@v2
  18. with:
  19. token: ${{ secrets.GITHUB_TOKEN }}
  20. branch: i18n-patch
  21. title: Update locale files from Transifex
  22. body: >-
  23. Violentmonkey updates translations from Transifex every week automatically.
  24. If you want to help translate into your language, please visit [the transifex platform](https://www.transifex.com/projects/p/violentmonkey-nex/resource/messagesjson/).