File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,7 @@ concurrency:
16
16
cancel-in-progress : true
17
17
18
18
permissions :
19
- # These permissions required by `crowdin/github-action`
20
- contents : write
21
- pull-requests : write
19
+ contents : read
22
20
23
21
jobs :
24
22
synchronize-with-crowdin :
34
32
35
33
- name : Checkout
36
34
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
35
+ with :
36
+ token : ${{ secrets.CROWDIN_GITHUB_BOT_TOKEN }}
37
37
38
38
# see all the options at https://github.com/crowdin/github-action
39
39
- name : Crowdin PR
51
51
pull_request_body : ' New Crowdin translations from the [Node.js Crowdin project](https://crowdin.com/project/nodejs-web)'
52
52
commit_message : ' chore: synced translations from crowdin'
53
53
env :
54
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
54
+ GITHUB_TOKEN : ${{ secrets.CROWDIN_GITHUB_BOT_TOKEN }}
55
55
# A numeric ID, found at https://crowdin.com/project/nodejs-web/tools/api
56
56
CROWDIN_PROJECT_ID : ${{ secrets.CROWDIN_PROJECT_ID }}
57
57
# Created from https://crowdin.com/settings#api-key logged in using nodejs-crowdin-bot
76
76
with :
77
77
# Use the number from the output of crowdin/github-action
78
78
ref : refs/pull/${{ needs.synchronize-with-crowdin.outputs.pull_request_number }}/head
79
+ token : ${{ secrets.CROWDIN_GITHUB_BOT_TOKEN }}
79
80
80
81
- name : Restore Lint Cache
81
82
uses : actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
You can’t perform that action at this time.
0 commit comments