forked from opf/openproject
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (38 loc) · 892 Bytes
/
i18n-tasks.yml
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
name: i18n-inconsistency-check
on:
push:
branches:
- dev
- release/*
paths-ignore:
- 'docs/**'
- 'help/**'
pull_request:
types: [opened, reopened, synchronize]
paths-ignore:
- 'docs/**'
- 'help/**'
- 'packaging/**'
- '.pkgr.yml'
permissions:
contents: read
jobs:
i18n-tasks:
permissions:
contents: read
if: github.repository == 'opf/openproject'
name: I18n inconsistency check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
- name: Setup i18n-tasks
run: |
gem install i18n-tasks
- name: Run inconsistent translations check
run: |
i18n-tasks \
check-consistent-interpolations \
--config config/i18n-tasks-all-files.yml