mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-21 11:35:34 +01:00
BRE-438 - Update Crowdin workflow (#12038)
This commit is contained in:
parent
0f2dbb1164
commit
4d9dc9a839
11
.github/workflows/crowdin-pull.yml
vendored
11
.github/workflows/crowdin-pull.yml
vendored
@ -9,7 +9,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
crowdin-sync:
|
crowdin-sync:
|
||||||
name: Autosync
|
name: Autosync
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@ -35,11 +35,18 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
keyvault: "bitwarden-ci"
|
keyvault: "bitwarden-ci"
|
||||||
secrets: "crowdin-api-token, github-gpg-private-key, github-gpg-private-key-passphrase"
|
secrets: "crowdin-api-token, github-gpg-private-key, github-gpg-private-key-passphrase"
|
||||||
|
|
||||||
|
- name: Generate GH App token
|
||||||
|
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
|
||||||
|
id: app-token
|
||||||
|
with:
|
||||||
|
app-id: ${{ secrets.BW_GHAPP_ID }}
|
||||||
|
private-key: ${{ secrets.BW_GHAPP_KEY }}
|
||||||
|
|
||||||
- name: Download translations
|
- name: Download translations
|
||||||
uses: bitwarden/gh-actions/crowdin@main
|
uses: bitwarden/gh-actions/crowdin@main
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ steps.app-token.outputs.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:
|
||||||
|
Loading…
Reference in New Issue
Block a user