Skip to content

Commit

Permalink
Add i18n Crowdin upload/download workflows (#71)
Browse files Browse the repository at this point in the history
* Add i18n Crowdin upload/download workflows

* Fix lint issues
  • Loading branch information
mr-vara authored Feb 26, 2025
1 parent c56ff90 commit 248a97c
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/i18n-crowdin-download.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Crowdin Download Action

on:
workflow_dispatch:
inputs:
base_branch:
description: 'Base branch for the pull request'
required: false
default: 'main'

permissions:
contents: write
pull-requests: write

jobs:
call-crowdin-workflow:
uses: newfold-labs/workflows/.github/workflows/i18n-crowdin-download.yml@main
with:
base_branch: ${{ inputs.base_branch }}
CROWDIN_PROJECT_ID: ${{ vars.CROWDIN_PROJECT_ID }}
secrets:
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
12 changes: 12 additions & 0 deletions .github/workflows/i18n-crowdin-upload.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Crowdin Upload Action

on:
workflow_dispatch:

jobs:
call-crowdin-upload-workflow:
uses: newfold-labs/workflows/.github/workflows/i18n-crowdin-upload.yml@main
with:
CROWDIN_PROJECT_ID: ${{ vars.CROWDIN_PROJECT_ID }}
secrets:
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

0 comments on commit 248a97c

Please sign in to comment.