Skip to content

Commit

Permalink
chore: Fix localization workflow (#8884)
Browse files Browse the repository at this point in the history
Fix workflow by adding additional paths/commits
  • Loading branch information
frankkopp authored Sep 9, 2024
1 parent 3db7457 commit 31a585f
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/localization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ jobs:
run: npm install -g @localazy/cli
- name: Download flyPad Translations
run: cd fbw-common/src/systems/instruments/src/EFB/Localization && node build-flypad-translation.js
- name: Download locPak Translations
- name: Download A32NX locPak Translations
run: cd fbw-a32nx/src/localization && node build-locPak-translation.js
- name: Download A380X locPak Translations
run: cd fbw-a380x/src/localization && node build-locPak-translation.js
- name: Print git status
run: git status
- name: Create PR
uses: gr2m/[email protected] # Generate a PR or updates an existing PR
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
path: fbw-a32nx/src/localization
branch: localazy-update # Specify branch that this action uses.
commit-message: 'automatically updated FlyByWire localization'
title: 'build: update FlyByWire localization'
body: >
This PR automatically downloads and updates the approved changes from Localazy translations for
Expand All @@ -39,3 +39,19 @@ jobs:
labels: |
EFB,
i18n
path: fbw-common/src/systems/instruments/src/EFB/Localization
commit-message: 'automatically updated flyPad localization'
- uses: gr2m/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
branch: localazy-update # Specify branch that this action uses.
path: fbw-a32nx/src/localization
commit-message: 'automatically updated A32NX locPak localization'
- uses: gr2m/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
branch: localazy-update # Specify branch that this action uses.
path: fbw-a380x/src/localization
commit-message: 'automatically updated A380X locPak localization'

0 comments on commit 31a585f

Please sign in to comment.