File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Crowdin Contributors Action
2+
3+ on :
4+ # When you push to the `main` branch
5+ push :
6+ branches : [ main ]
7+ # And optionally, once every 12 hours
8+ schedule :
9+ - cron : ' 0 */12 * * *' # https://crontab.guru/#0_*/12_*_*_*
10+ # To manually run this workflow
11+ workflow_dispatch :
12+
13+ jobs :
14+ crowdin-contributors :
15+
16+ runs-on : ubuntu-latest
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v3
20+
21+ - name : Generate Crowdin Contributors table
22+ uses :
andrii-bodnar/[email protected] 23+ with :
24+ contributors_per_line : 8
25+ max_contributors : 32
26+ image_size : 64
27+ min_words_contributed : 1
28+ crowdin_project_link : https://crowdin.com/project/jdsp4linux
29+ env :
30+ CROWDIN_PROJECT_ID : ${{ secrets.CROWDIN_PROJECT_ID }}
31+ CROWDIN_PERSONAL_TOKEN : ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
32+
33+ - name : Create Pull Request
34+ uses : peter-evans/create-pull-request@v4
35+ with :
36+ title : Update Crowdin Contributors table
37+ body : By [action-crowdin-contributors](https://github.com/andrii-bodnar/action-crowdin-contributors) GitHub action
38+ commit-message : Update Crowdin Contributors table
39+ branch : crowdin-contributors/patch
You can’t perform that action at this time.
0 commit comments