Skip to content

Commit

Permalink
Fix auto_translate.yml (#628)
Browse files Browse the repository at this point in the history
## Что этот PR делает

Фикс github action обновляющего файл с переводами

## Changelog

:cl:
fix: Фикс github action обновляющего файл с переводами
/:cl:
  • Loading branch information
KoJIT2009 authored Nov 5, 2023
1 parent 05bb93e commit 5cc3e46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto_translate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ jobs:
- name: Create temporary branch
run: |
git checkout -b translate_tmp $(git log -n 1 --pretty=format:%H origin/translate -- tools/translator/ss220replace.json)
git checkout -b translate_tmp ${{ github.sha }}^
- name: Apply PR translation
run: |
git diff ..$(git log -n 1 --pretty=format:%H origin/translate) | git apply
git diff ${{ github.sha }}^..${{ github.sha }} | git apply
- name: 'Generate Translation'
run: |
Expand Down

0 comments on commit 5cc3e46

Please sign in to comment.