Skip to content

Commit

Permalink
Update the Crowdin Workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-vara committed Feb 25, 2025
1 parent ec9eaf7 commit 0249b21
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 89 deletions.
48 changes: 0 additions & 48 deletions .github/workflows/crowdin-download.yml

This file was deleted.

41 changes: 0 additions & 41 deletions .github/workflows/crowdin-upload.yml

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/i18n-crowdin-download.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Crowdin Download Action

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

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

on:
workflow_dispatch:

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

0 comments on commit 0249b21

Please sign in to comment.