Update Crowdin Contributors Action configuration #2847
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: Crowdin Contributors Action | |
| on: | |
| push: | |
| branches: [master] | |
| schedule: | |
| - cron: '0 */12 * * *' | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| crowdin-contributors: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Generate Crowdin Contributors table | |
| uses: andrii-bodnar/action-crowdin-contributors@0.2.0 | |
| with: | |
| contributors_per_line: 8 | |
| max_contributors: 32 | |
| image_size: 64 | |
| min_words_contributed: 1 | |
| crowdin_project_link: https://crowdin.com/project/jdsp4linux | |
| 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: Update Crowdin Contributors table | |
| body: >- | |
| By [action-crowdin-contributors](https://github.com/andrii-bodnar/action-crowdin-contributors) | |
| GitHub action | |
| commit-message: Update Crowdin Contributors table | |
| branch: crowdin-contributors/patch |