Skip to content

Fix add translate workflow (#825) #223

Fix add translate workflow (#825)

Fix add translate workflow (#825) #223

name: Update translation branch
on:
workflow_dispatch:
push:
branches: ['master']
concurrency:
group: translation
cancel-in-progress: false
jobs:
update_translation:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
name: 'Update old translation'
steps:
- name: 'Update Branch'
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 'Git config'
run: |
git config --local user.email "[email protected]"
git config --local user.name "SS220Manager"
- name: 'Update translate branch'
run: |
git fetch origin translate
git checkout translate
git merge master
- name: 'Push'
run: |
git push origin translate:translate