diff --git a/.github/workflows/crowdin-pull.yml b/.github/workflows/crowdin-pull.yml index ca99db6125..a0f0a62281 100644 --- a/.github/workflows/crowdin-pull.yml +++ b/.github/workflows/crowdin-pull.yml @@ -26,16 +26,15 @@ jobs: uses: bitwarden/gh-actions/get-keyvault-secrets@main with: keyvault: "bitwarden-ci" - secrets: "crowdin-api-token, github-gpg-private-key, github-gpg-private-key-passphrase" + secrets: "github-gpg-private-key, github-gpg-private-key-passphrase" - name: Download translations uses: crowdin/github-action@61ac8b980551f674046220c3e104bddae2916ac5 # v2.0.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CROWDIN_API_TOKEN: ${{ steps.retrieve-secrets.outputs.crowdin-api-token }} + CROWDIN_API_TOKEN: ${{ secrets.CROWDIN_API_TOKEN }} with: config: crowdin.yml - crowdin_branch_name: main upload_sources: false upload_translations: false download_translations: true diff --git a/.github/workflows/crowdin-push.yml b/.github/workflows/crowdin-push.yml index 7e7907d55c..54e7a13e63 100644 --- a/.github/workflows/crowdin-push.yml +++ b/.github/workflows/crowdin-push.yml @@ -19,25 +19,12 @@ jobs: - name: Check out repo uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - name: Log in to Azure - uses: Azure/login@cb79c773a3cfa27f31f25eb3f677781210c9ce3d # v1.6.1 - with: - creds: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }} - - - name: Retrieve secrets - id: retrieve-secrets - uses: bitwarden/gh-actions/get-keyvault-secrets@main - with: - keyvault: "bitwarden-ci" - secrets: "crowdin-api-token" - - name: Upload sources uses: crowdin/github-action@61ac8b980551f674046220c3e104bddae2916ac5 # v2.0.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CROWDIN_API_TOKEN: ${{ steps.retrieve-secrets.outputs.crowdin-api-token }} + CROWDIN_API_TOKEN: ${{ secrets.CROWDIN_API_TOKEN }} with: config: crowdin.yml - crowdin_branch_name: main upload_sources: true upload_translations: false