From f7751ae6180889ef4a05ad6c7788b7bf1c878e01 Mon Sep 17 00:00:00 2001 From: Nat1anWasTaken Date: Sat, 8 Jun 2024 16:01:01 +0800 Subject: [PATCH] fix(crowdin.yml, .github/workflows/crowdin.yml): try to fix crowdin action --- .github/workflows/crowdin.yml | 2 -- crowdin.yml | 5 ++++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/crowdin.yml b/.github/workflows/crowdin.yml index bf854e15..ed717c08 100644 --- a/.github/workflows/crowdin.yml +++ b/.github/workflows/crowdin.yml @@ -23,8 +23,6 @@ jobs: pull_request_title: 'New Crowdin Translations' pull_request_body: 'New Crowdin translations by [Crowdin GH Action](https://github.com/crowdin/github-action)' pull_request_base_branch_name: 'master' - project_id: ${{ secrets.CROWDIN_PROJECT_ID }} - api_token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} env: # A classic GitHub Personal Access Token with the 'repo' scope selected (the user should have write access to the repository). GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/crowdin.yml b/crowdin.yml index 8ae0c6f2..c8eb4fb3 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -1,3 +1,6 @@ +project_id_env: "CROWDIN_PROJECT_ID" +api_token_env: "CROWDIN_PERSONAL_TOKEN" + files: - source: /locale/zh_TW.json - translation: /locale/%two_letters_code%.json + translation: /locale/%two_letters_code%.json \ No newline at end of file