File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Crowdin Sync
2
2
3
3
on :
4
4
workflow_dispatch :
5
- inputs : { }
5
+ inputs : {}
6
6
schedule :
7
7
- cron : ' 0 0 * * 5'
8
8
@@ -28,10 +28,17 @@ jobs:
28
28
keyvault : " bitwarden-ci"
29
29
secrets : " crowdin-api-token, github-gpg-private-key, github-gpg-private-key-passphrase"
30
30
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
+
31
38
- name : Download translations
32
39
uses : crowdin/github-action@2d540f18b0a416b1fbf2ee5be35841bd380fc1da # v2.3.0
33
40
env :
34
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41
+ GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
35
42
CROWDIN_API_TOKEN : ${{ steps.retrieve-secrets.outputs.crowdin-api-token }}
36
43
with :
37
44
config : crowdin.yml
You can’t perform that action at this time.
0 commit comments