Translations rebase from master #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Translations rebase from master | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '15 5 * * 1' | |
permissions: write-all | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Git User | |
run: | | |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
git config user.name "github-actions[bot]" | |
- name: Transifex Rebase | |
run: | | |
git checkout transifex-synchronization-source | |
git reset origin/master --hard | |
git push origin transifex-synchronization-source --force-with-lease |