Skip to content

Commit

Permalink
Merge branch 'master' into morgue_mapping_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRomainzZ authored Nov 21, 2023
2 parents c5a525b + 18dc529 commit 0b77907
Show file tree
Hide file tree
Showing 112 changed files with 13,190 additions and 10,104 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/ci_translate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CI
on:
push:
branches:
- translate
pull_request:
branches:
- translate

jobs:
translate_check:
name: Run translate checks
runs-on: ubuntu-20.04
steps:
- name: 'Update Branch'
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Installing Python
uses: actions/setup-python@v4
with:
python-version: '3.11'

- name: Installing deps
run: |
python -m pip install --upgrade pip
pip install -r ./tools/translator/requirements.txt
- name: Git fetch
run: |
git fetch
- name: Create temporary branch
run: |
git checkout -b translate_tmp origin/translate
- name: Apply PR translation
run: |
git diff ..${{ github.sha }} | git apply
- name: 'Generate Translation'
run: |
python ./tools/translator/converter.py
Loading

0 comments on commit 0b77907

Please sign in to comment.