Fix root-owned files breaking the translations PR step (#2405)

This commit is contained in:
Lance Pioch
2026-06-22 00:09:20 -04:00
committed by GitHub
parent 553c87597f
commit 2486446e23

View File

@@ -37,6 +37,12 @@ jobs:
- name: Run Laravel Pint
uses: aglipanci/laravel-pint-action@8eedec46a1856977c41667f9c66d5562fa3f9c08 # 2.4
# The Crowdin and Pint steps run in Docker as root, so new translation
# files land owned by root. Reclaim them so the host-side git operations
# in create-pull-request can manage the working tree.
- name: Fix file ownership
run: sudo chown -R "$(id -u):$(id -g)" "${{ github.workspace }}"
- name: Create Pull Request
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
with: