File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -135,4 +135,33 @@ jobs:
135135 if : github.event.repository.fork == false && failure()
136136 with :
137137 title : " Build apk"
138- webhook : ${{ secrets.DISCORD_BUILD_STATUS_WEBHOOK }}
138+ webhook : ${{ secrets.DISCORD_BUILD_STATUS_WEBHOOK }}
139+
140+ synchronize-with-crowdin :
141+ runs-on : ubuntu-latest
142+
143+ steps :
144+ - name : Checkout
145+ uses : actions/checkout@v4
146+
147+ - name : crowdin action
148+ uses : crowdin/github-action@v2
149+ if : github.event.repository.fork == false
150+ with :
151+ upload_sources : true
152+ upload_translations : false
153+ download_translations : true
154+ localization_branch_name : l10n/develop
155+ create_pull_request : true
156+ pull_request_title : ' New Crowdin Translations'
157+ pull_request_body : ' New Crowdin translations by [Crowdin GH Action](https://github.com/crowdin/github-action)'
158+ pull_request_base_branch_name : ' develop'
159+ env :
160+ # A classic GitHub Personal Access Token with the 'repo' scope selected (the user should have write access to the repository).
161+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
162+
163+ # A numeric ID, found at https://crowdin.com/project/<projectName>/tools/api
164+ CROWDIN_PROJECT_ID : ${{ secrets.CROWDIN_PROJECT_ID }}
165+
166+ # Visit https://crowdin.com/settings#api-key to create this token
167+ CROWDIN_PERSONAL_TOKEN : ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
You can’t perform that action at this time.
0 commit comments