From 269bcabea6efb1afc3ed65798daa8add218050c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= <1005065+DeepDiver1975@users.noreply.github.com> Date: Fri, 8 May 2026 15:46:48 +0200 Subject: [PATCH] fix(translation-sync): replace git rm with rm in cleanup step MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git rm requires a valid git safe.directory context which is not available inside the container for subsequent steps after checkout. The files being removed are unsupported locales; plain rm is sufficient since peter-evans/create-pull-request handles staging all filesystem changes. Co-Authored-By: Claude Sonnet 4.6 Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com> --- .github/workflows/translation-sync.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/translation-sync.yml b/.github/workflows/translation-sync.yml index 768ffb1..2a891d8 100644 --- a/.github/workflows/translation-sync.yml +++ b/.github/workflows/translation-sync.yml @@ -157,10 +157,10 @@ jobs: cd "$SUB_PATH" find . -name "*.po" -type f -delete find . -name "*.pot" -type f -delete - find . -name "or_IN.*" -type f -print0 | xargs -r -0 git rm -f - find . -name "uz.*" -type f -print0 | xargs -r -0 git rm -f - find . -name "yo.*" -type f -print0 | xargs -r -0 git rm -f - find . -name "ne.*" -type f -print0 | xargs -r -0 git rm -f + find . -name "or_IN.*" -type f -print0 | xargs -r -0 rm -f + find . -name "uz.*" -type f -print0 | xargs -r -0 rm -f + find . -name "yo.*" -type f -print0 | xargs -r -0 rm -f + find . -name "ne.*" -type f -print0 | xargs -r -0 rm -f - name: Generate GitHub App token id: app-token