Skip to content

Pull translations

Pull translations #56

name: Pull translations
on:
schedule:
- cron: "0 */12 * * *"
workflow_dispatch:
jobs:
pull_translations:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0 # Max fetch depth (full history of files)
- name: Install transifex client
run: |
mkdir tx
cd tx
curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
cd ..
- name: Pull translations
env:
TX_TOKEN: ${{ secrets.TX_TOKEN }}
run: |
./tx/tx pull --all --use-git-timestamps --minimum-perc 100
- name: Create Pull Request
uses: peter-evans/create-pull-request@v8
with:
title: Update translations of the site
commit-message: Update translations of the site
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
delete-branch: true