-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Fix localization workflow (#8884)
Fix workflow by adding additional paths/commits
- Loading branch information
Showing
1 changed file
with
19 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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' |