From 176e9e97b3736721d375230109ff405868e1df82 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 12 Feb 2025 12:42:42 +0100 Subject: [PATCH] ci: Fix owner of files before checking out Signed-off-by: Joas Schilling --- .github/workflows/generate_catalog_templates.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate_catalog_templates.yml b/.github/workflows/generate_catalog_templates.yml index bdd287bac..9eb8e3cd4 100644 --- a/.github/workflows/generate_catalog_templates.yml +++ b/.github/workflows/generate_catalog_templates.yml @@ -27,14 +27,22 @@ jobs: pre-build-command: "pip install -r requirements.txt" build-command: "make gettext" + - name: Change file owner to correct user + run: | + ls -la user_manual/locale/source + sudo chown -R 1001:1001 user_manual/locale/source + ls -la user_manual/locale/source + - uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6 id: cpr with: token: ${{ secrets.COMMAND_BOT_PAT }} commit-message: 'chore(l10n): Updates catalog templates (POT files fetched automatically by transifex)' - title: Updates catalog templates - branch: update-l10n + committer: GitHub + author: nextcloud-command signoff: true + branch: 'automated/noid/update-l10n' + title: 'Updates catalog templates' - uses: hmarr/auto-approve-action@f0939ea97e9205ef24d872e76833fa908a770363 # v4.0.0 if: steps.cpr.outputs.pull-request-operation == 'created'