Skip to content

Commit 4e5aa57

Browse files
committed
Add translation lint action
1 parent 82ee880 commit 4e5aa57

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Translation Lint
2+
on:
3+
workflow_dispatch:
4+
pull_request:
5+
# paths:
6+
# - "gui/packages/ubuntupro/lib/l10n/*"
7+
push:
8+
branches: [main]
9+
10+
jobs:
11+
translation-lint:
12+
name: translation-lint
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
# - name: Get changed files
18+
# id: changed-files
19+
# uses: tj-actions/changed-files@v45
20+
# with:
21+
# separator: ","
22+
- name: Translation lint
23+
uses: ashuntu/translation-linter@main
24+
with:
25+
file-mask: "app_(.*)\\.arb"
26+
translation-dir: "gui/packages/ubuntupro/lib/l10n"
27+
# files: ${{ steps.changed-files.outputs.all_changed_files }}

0 commit comments

Comments
 (0)