mirror of
https://github.com/HackTricks-wiki/hacktricks.git
synced 2025-10-10 18:36:50 +00:00
f
This commit is contained in:
parent
78775e0737
commit
197cf1cc58
9
.github/workflows/translate_es.yml
vendored
9
.github/workflows/translate_es.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Translator to ES (Spachins)
|
name: Translator to ES (Spanish)
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -49,7 +49,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python scripts/get_and_save_refs.py
|
python scripts/get_and_save_refs.py
|
||||||
|
|
||||||
- name: Download language branch
|
- name: Download language branch & update refs
|
||||||
run: |
|
run: |
|
||||||
git config --global --add safe.directory /__w/hacktricks/hacktricks
|
git config --global --add safe.directory /__w/hacktricks/hacktricks
|
||||||
git config --global user.name 'Translator'
|
git config --global user.name 'Translator'
|
||||||
@ -57,11 +57,8 @@ jobs:
|
|||||||
git config pull.rebase false
|
git config pull.rebase false
|
||||||
git checkout $BRANCH
|
git checkout $BRANCH
|
||||||
git pull
|
git pull
|
||||||
git checkout master
|
|
||||||
|
|
||||||
- name: Update the refs from master to language branch
|
|
||||||
run: |
|
|
||||||
python scripts/compare_and_fix_refs.py --files-unmatched-paths /tmp/file_paths.txt
|
python scripts/compare_and_fix_refs.py --files-unmatched-paths /tmp/file_paths.txt
|
||||||
|
git checkout master
|
||||||
|
|
||||||
- name: Run translation script on changed files
|
- name: Run translation script on changed files
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user