From 545baf0be8b5672d7b42765b72388b3833d927d8 Mon Sep 17 00:00:00 2001 From: Duarte Barbosa Date: Mon, 10 Feb 2025 01:38:18 +0000 Subject: [PATCH] Created/Implemented Auto translate bot with token (#13) --- .github/workflows/auto-translate.yaml | 5 +++++ 1 file changed, 5 insertions(+) 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>"