chore: new translations (#3163) #123
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
name: Crowdin translations progress | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- docs/locales/*.json | |
- docs/src/**/*.md | |
- src/i18n/*.json | |
workflow_dispatch: | |
jobs: | |
crowdin-translations-progress: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Generate Crowdin translations progress markdown | |
uses: benjaminjonard/crowdin-translations-progress-action@1.0.7 | |
with: | |
languages_per_row: 5 | |
minimum_completion_percent: 50 | |
file: README.md | |
env: | |
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} | |
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
title: 'chore: update translations progress' | |
body: Update Crowdin translations progress by [Crowdin translations progress](https://github.com/benjaminjonard/crowdin-translations-progress-action) GitHub action | |
commit-message: 'chore: update translations progress' | |
branch: crowdin-translations-progress-action |