Automatic NanoMap Update (#1537) #763
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: 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 |