Skip to content

Crowdin Contributors Action #511

Crowdin Contributors Action

Crowdin Contributors Action #511

name: Crowdin Contributors Action
on:
schedule:
- cron: '0 */12 * * *'
workflow_dispatch: {}
jobs:
crowdin-contributors:
runs-on: ubuntu-latest
if: github.repository == 'AndroidIDEOfficial/AndroidIDE'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Generate Crowdin Contributors table
uses: andrii-bodnar/[email protected]
with:
contributors_per_line: 8
max_contributors: 32
image_size: 64
min_words_contributed: 100
files: CROWDIN_CONTRIBUTORS.md
crowdin_project_link: "https://crowdin.com/project/androidide"
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@v4
with:
title: Update Crowdin Contributors table
body: By [action-crowdin-contributors](https://github.com/andrii-bodnar/action-crowdin-contributors) GitHub action
commit-message: "chore: update crowdin contributors table"
committer: Crowdin Bot <[email protected]>
branch: crowdin-contributors/patch