File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Crowdin Sync
22
33on :
44 workflow_dispatch :
5- inputs : { }
5+ inputs : {}
66 schedule :
77 - cron : ' 0 0 * * 5'
88
@@ -28,10 +28,17 @@ jobs:
2828 keyvault : " bitwarden-ci"
2929 secrets : " crowdin-api-token, github-gpg-private-key, github-gpg-private-key-passphrase"
3030
31+ - name : Generate GH App token
32+ uses : actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
33+ id : app-token
34+ with :
35+ app-id : ${{ secrets.BW_GHAPP_ID }}
36+ private-key : ${{ secrets.BW_GHAPP_KEY }}
37+
3138 - name : Download translations
3239 uses : crowdin/github-action@2d540f18b0a416b1fbf2ee5be35841bd380fc1da # v2.3.0
3340 env :
34- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41+ GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
3542 CROWDIN_API_TOKEN : ${{ steps.retrieve-secrets.outputs.crowdin-api-token }}
3643 with :
3744 config : crowdin.yml
You can’t perform that action at this time.
0 commit comments