mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 13:53:34 +00:00
Monorepo Crowdin Sync (#2713)
* trying a working-directory to fix the crowdin configuration issue * trying a job default working-directory * switching to using a custom action * bumping the custom action version * bumping the custom action version * updating the PR branch names to have different ones per project * removing test code * Updating commit hash to master branch of custom crowdin pull action
This commit is contained in:
7
.github/workflows/crowdin-pull.yml
vendored
7
.github/workflows/crowdin-pull.yml
vendored
@@ -36,13 +36,13 @@ jobs:
|
|||||||
secrets: "crowdin-api-token"
|
secrets: "crowdin-api-token"
|
||||||
|
|
||||||
- name: Download translations
|
- name: Download translations
|
||||||
uses: crowdin/github-action@e39093fd75daae7859c68eded4b43d42ec78d8ea # v1.3.2
|
uses: bitwarden/gh-actions/crowdin@05052c5c575ceb09ceea397fe241879e199ed44b
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
CROWDIN_API_TOKEN: ${{ steps.retrieve-secrets.outputs.crowdin-api-token }}
|
CROWDIN_API_TOKEN: ${{ steps.retrieve-secrets.outputs.crowdin-api-token }}
|
||||||
CROWDIN_PROJECT_ID: ${{ matrix.crowdin_project_id }}
|
CROWDIN_PROJECT_ID: ${{ matrix.crowdin_project_id }}
|
||||||
with:
|
with:
|
||||||
config: apps/${{ matrix.app_name }}/crowdin.yml
|
config: crowdin.yml
|
||||||
crowdin_branch_name: master
|
crowdin_branch_name: master
|
||||||
upload_sources: false
|
upload_sources: false
|
||||||
upload_translations: false
|
upload_translations: false
|
||||||
@@ -50,7 +50,8 @@ jobs:
|
|||||||
github_user_name: "github-actions"
|
github_user_name: "github-actions"
|
||||||
github_user_email: "<>"
|
github_user_email: "<>"
|
||||||
commit_message: "Autosync the updated translations"
|
commit_message: "Autosync the updated translations"
|
||||||
localization_branch_name: crowdin-auto-sync
|
localization_branch_name: crowdin-auto-sync-${{ matrix.app_name }}
|
||||||
create_pull_request: true
|
create_pull_request: true
|
||||||
pull_request_title: "Autosync Crowdin Translations for ${{ matrix.app_name }}"
|
pull_request_title: "Autosync Crowdin Translations for ${{ matrix.app_name }}"
|
||||||
pull_request_body: "Autosync the updated translations"
|
pull_request_body: "Autosync the updated translations"
|
||||||
|
working_directory: apps/${{ matrix.app_name }}
|
||||||
|
|||||||
Reference in New Issue
Block a user