From 7762f3e79e161e3acbf699d3d4e4c28c4a121a74 Mon Sep 17 00:00:00 2001 From: "Ali(Ako) Hosseini" Date: Thu, 6 Jun 2024 18:47:50 +0800 Subject: [PATCH] ci: remove cp as the permission is not enough --- .github/actions/extract_and_sync_translations/action.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/actions/extract_and_sync_translations/action.yml b/.github/actions/extract_and_sync_translations/action.yml index 947aa58..c12e018 100644 --- a/.github/actions/extract_and_sync_translations/action.yml +++ b/.github/actions/extract_and_sync_translations/action.yml @@ -1,7 +1,5 @@ name: Sync Translations with CloudFlare description: Sync Crowdin translations of desired environment with cloudflare -permissions: - contents: write inputs: PROJECT_NAME: @@ -82,9 +80,7 @@ runs: CROWDIN_PERSONAL_TOKEN: ${{ inputs.CROWDIN_PERSONAL_TOKEN }} CROWDIN_BASE_URL: ${{ inputs.CROWDIN_BASE_URL }} CROWDIN_BASE_PATH: ${{ inputs.CROWDIN_BASE_PATH }} - - name: Copy messages.json (source file) as en.json to the translations folder. - shell: bash - run: cp ./crowdin/messages.json ./translations/en.json + - name: R2 Upload Action to upload translations to Cloudflare uses: ryand56/r2-upload-action@latest with: