Skip to content

Commit

Permalink
Create crowdin-download.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasJoKuJonas committed Mar 14, 2024
1 parent 054c316 commit 73b1518
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/crowdin-download.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Crowdin download

on:
workflow_dispatch:
schedule:
- cron: '0 * * * *'

permissions: write-all

jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: crowdin action
uses: crowdin/github-action@v1
with:
upload_sources: false
upload_translations: false
download_translations: true
localization_branch_name: crowdin
create_pull_request: true
pull_request_title: 'Update translations'
pull_request_body: 'New Crowdin translations submitted'
pull_request_base_branch_name: 'master'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

0 comments on commit 73b1518

Please sign in to comment.