Crowdin merge #3
This file contains hidden or 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: Crowdin merge | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| merge: | |
| name: Squash merge Crowdin into Dev | |
| permissions: | |
| contents: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Step 1: Checkout dev branch | |
| - name: Checkout dev | |
| uses: actions/checkout@v5 | |
| with: | |
| ref: dev | |
| fetch-depth: 0 | |
| clean: true | |
| # Step 2: Fetch the latest crowdin branch | |
| - name: Fetch crowdin branch | |
| run: git fetch origin crowdin | |
| # Step 3: Squash merge crowdin into dev | |
| - name: Squash merge crowdin into dev | |
| run: | | |
| git config --local user.name "Crowdin Bot" | |
| git config --local user.email "support+bot@crowdin.com" | |
| git merge --squash origin/crowdin | |
| git commit --allow-empty -m "chore: Update translations from Crowdin" | |
| git push origin dev |