-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix translations update running on PRs
- Loading branch information
1 parent
fe68238
commit 36b2569
Showing
2 changed files
with
26 additions
and
19 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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Update translations | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
update-translations: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: ./.github/actions/setup | ||
with: | ||
backend: false | ||
|
||
- name: Install dependencies | ||
working-directory: frontend | ||
run: pnpm install | ||
|
||
- name: Update translation keys | ||
working-directory: frontend | ||
run: | | ||
pnpm translations:compare -ak ${{ secrets.TOLGEE_KEY }} | ||
pnpm translations:sync -ak ${{ secrets.TOLGEE_KEY }} |