-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a79c00a
commit e56efdf
Showing
2 changed files
with
44 additions
and
14 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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: i18n-incosistency-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 |
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