File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,7 @@ concurrency:
1616 cancel-in-progress : true
1717
1818permissions :
19- # These permissions required by `crowdin/github-action`
20- contents : write
21- pull-requests : write
19+ contents : read
2220
2321jobs :
2422 synchronize-with-crowdin :
3432
3533 - name : Checkout
3634 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
35+ with :
36+ token : ${{ secrets.CROWDIN_GITHUB_BOT_TOKEN }}
3737
3838 # see all the options at https://github.com/crowdin/github-action
3939 - name : Crowdin PR
5151 pull_request_body : ' New Crowdin translations from the [Node.js Crowdin project](https://crowdin.com/project/nodejs-web)'
5252 commit_message : ' chore: synced translations from crowdin'
5353 env :
54- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
54+ GITHUB_TOKEN : ${{ secrets.CROWDIN_GITHUB_BOT_TOKEN }}
5555 # A numeric ID, found at https://crowdin.com/project/nodejs-web/tools/api
5656 CROWDIN_PROJECT_ID : ${{ secrets.CROWDIN_PROJECT_ID }}
5757 # Created from https://crowdin.com/settings#api-key logged in using nodejs-crowdin-bot
7676 with :
7777 # Use the number from the output of crowdin/github-action
7878 ref : refs/pull/${{ needs.synchronize-with-crowdin.outputs.pull_request_number }}/head
79+ token : ${{ secrets.CROWDIN_GITHUB_BOT_TOKEN }}
7980
8081 - name : Restore Lint Cache
8182 uses : actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
You can’t perform that action at this time.
0 commit comments