diff --git a/.github/workflows/auto-translate.yaml b/.github/workflows/auto-translate.yaml index ab44fb8..3e8744d 100644 --- a/.github/workflows/auto-translate.yaml +++ b/.github/workflows/auto-translate.yaml @@ -5,6 +5,10 @@ on: branches: - main +permissions: + contents: write + pull-requests: write + concurrency: group: "${{ github.workflow }}-${{ github.ref }}" cancel-in-progress: true @@ -32,6 +36,7 @@ jobs: - name: Create Pull Request uses: peter-evans/create-pull-request@v7 with: + #token: ${{ secrets.PAT }} commit-message: "[Translate Bot] Auto-generated translations for non-English languages" committer: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>" author: "${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>"