Measure eco impact via GMT (green metrics tool) #22907
This file contains hidden or 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
| 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@v6 | |
| - 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 |