From 8e52d8235ac1c1d174afcdd5bd5dc4f36795daef Mon Sep 17 00:00:00 2001 From: Robert Göhler Date: Mon, 18 Mar 2024 21:10:41 +0100 Subject: Update update-translations.yml add PAT secret for the PR --- .github/workflows/update-translations.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to '.github') diff --git a/.github/workflows/update-translations.yml b/.github/workflows/update-translations.yml index f1ff4ba1..393ce190 100644 --- a/.github/workflows/update-translations.yml +++ b/.github/workflows/update-translations.yml @@ -48,17 +48,15 @@ jobs: - name: set file ownership run: | sudo chown -R 1001 docs/_locale - + - name: Create Pull Request - uses: peter-evans/create-pull-request@v3 + uses: peter-evans/create-pull-request@v6 with: - token: ${{secrets.GITHUB_TOKEN}} - add-paths: docs/_locale/* + token: ${{ secrets.PR_ACTION_DOCUMENTATION_SUBMODULE_UPDATE }} commit-message: "Github: update translations" - committer: GitHub - author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> title: "Github: update translations" body: | Generate, upload new and download translation files branch: update-translations-master delete-branch: true + -- cgit v1.2.3