ci: Fix owner of files before checking out

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling
2025-02-12 12:42:42 +01:00
parent 7a7214848d
commit 176e9e97b3

View File

@@ -27,14 +27,22 @@ jobs:
pre-build-command: "pip install -r requirements.txt" pre-build-command: "pip install -r requirements.txt"
build-command: "make gettext" 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 - uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
id: cpr id: cpr
with: with:
token: ${{ secrets.COMMAND_BOT_PAT }} token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: 'chore(l10n): Updates catalog templates (POT files fetched automatically by transifex)' commit-message: 'chore(l10n): Updates catalog templates (POT files fetched automatically by transifex)'
title: Updates catalog templates committer: GitHub <noreply@github.com>
branch: update-l10n author: nextcloud-command <nextcloud-command@users.noreply.github.com>
signoff: true signoff: true
branch: 'automated/noid/update-l10n'
title: 'Updates catalog templates'
- uses: hmarr/auto-approve-action@f0939ea97e9205ef24d872e76833fa908a770363 # v4.0.0 - uses: hmarr/auto-approve-action@f0939ea97e9205ef24d872e76833fa908a770363 # v4.0.0
if: steps.cpr.outputs.pull-request-operation == 'created' if: steps.cpr.outputs.pull-request-operation == 'created'