File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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 :
5149 pull_request_body : ' New Crowdin translations from the [Node.js Crowdin project](https://crowdin.com/project/nodejs-web)'
5250 commit_message : ' chore: synced translations from crowdin'
5351 env :
54- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
52+ GITHUB_TOKEN : ${{ secrets.GH_USER_TOKEN }}
5553 # A numeric ID, found at https://crowdin.com/project/nodejs-web/tools/api
5654 CROWDIN_PROJECT_ID : ${{ secrets.CROWDIN_PROJECT_ID }}
5755 # Created from https://crowdin.com/settings#api-key logged in using nodejs-crowdin-bot
7674 with :
7775 # Use the number from the output of crowdin/github-action
7876 ref : refs/pull/${{ needs.synchronize-with-crowdin.outputs.pull_request_number }}/head
77+ token : ${{ secrets.GH_USER_TOKEN }}
7978
8079 - name : Restore Lint Cache
8180 uses : actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
You can’t perform that action at this time.
0 commit comments