forked from activist-org/activist
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (38 loc) · 1.08 KB
/
pr_ci_i18n.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: pr_ci_i18n
on:
pull_request:
branches:
- main
types: [opened, reopened, synchronize]
paths:
- "**/en-US.json"
push:
branches:
- main
paths:
- "**/en-US.json"
jobs:
i18n_check:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo Content
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Execute i18n Key Identifiers Check
working-directory: ./frontend/i18n/check
run: python i18n_check_key_identifiers.py
- name: Execute i18n Unused Keys Check
if: always()
working-directory: ./frontend/i18n/check
run: python i18n_check_unused_keys.py
- name: Execute i18n Non Source Keys Check
if: always()
working-directory: ./frontend/i18n/check
run: python i18n_check_non_source_keys.py
- name: Execute i18n Repeat Values Check
if: always()
working-directory: ./frontend/i18n/check
run: python i18n_check_repeat_values.py