Skip to content

Commit

Permalink
Fix Crowdin workflow issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-vara committed Feb 26, 2025
1 parent 53b2cad commit eb1ffe2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/i18n-crowdin-download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ on:
required: false
default: 'main'
type: string
CROWDIN_PROJECT_ID:
required: true
type: string
secrets:
CROWDIN_PERSONAL_TOKEN:
required: true
vars:
CROWDIN_PROJECT_ID:
required: true

permissions:
contents: write
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# A numeric ID, found at https://crowdin.com/project/<projectName>/tools/api
CROWDIN_PROJECT_ID: ${{ vars.CROWDIN_PROJECT_ID }}
CROWDIN_PROJECT_ID: ${{ inputs.CROWDIN_PROJECT_ID }}

# Visit https://crowdin.com/settings#api-key to create this token
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
7 changes: 4 additions & 3 deletions .github/workflows/i18n-crowdin-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ name: Crowdin Upload Action

on:
workflow_call:
inputs:
CROWDIN_PROJECT_ID:
required: true
type: string
secrets:
CROWDIN_PERSONAL_TOKEN:
required: true
vars:
CROWDIN_PROJECT_ID:
required: true

permissions:
contents: write
Expand Down

0 comments on commit eb1ffe2

Please sign in to comment.