-
-
Notifications
You must be signed in to change notification settings - Fork 112
42 lines (38 loc) · 1.17 KB
/
readme.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
on:
push:
branches:
- main
paths:
- README.md
jobs:
contrib-readme-job:
runs-on: ubuntu-latest
name: A job to automate contrib in readme
steps:
- name: Contribute List
uses: akhilmhdh/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
crowdin-contributors:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Generate Crowdin Contributors table
uses: andrii-bodnar/[email protected]
with:
contributors_per_line: 5
max_contributors: 10000
image_size: 100
min_words_contributed: 1
include_languages: true
crowdin_project_link: https://crowdin.com/project/mousetooltiptranslator
env:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
# Commit all changed files back to the repository
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Update Crowdin Contributors"