diff --git a/.github/workflows/translation.yml b/.github/workflows/translation.yml index 34ba964fc0..43b1bff6f5 100644 --- a/.github/workflows/translation.yml +++ b/.github/workflows/translation.yml @@ -40,8 +40,9 @@ jobs: uses: actions/checkout@v4 - name: Check modified files and add labels - uses: actions/github-script@v5 + uses: actions/github-script@v7 with: + github-token: ${{ secrets.TRANSLATION_TOKEN }} script: | const languages = ['en', 'es', 'fr', 'it', 'id', 'ja', 'ko', 'pt-br', 'ru', 'sk', 'th', 'tr', 'uk', 'uz', 'zh-cn', 'zh-tw']; const prNumber = context.eventName === 'workflow_dispatch' ? context.payload.inputs.prNumber : context.issue.number;