From ba1b28d9a679303706c4515c138456b3f0c7582f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Tue, 25 Aug 2026 20:15:56 -0700 Subject: [PATCH 1/2] Gettext Flatpak: add github workspace to safe directory --- gettext-flatpak/entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/gettext-flatpak/entrypoint.sh b/gettext-flatpak/entrypoint.sh index b4ca4f7..d1e75be 100755 --- a/gettext-flatpak/entrypoint.sh +++ b/gettext-flatpak/entrypoint.sh @@ -21,6 +21,7 @@ fi git config --global user.email "$GIT_USER_EMAIL" git config --global user.name "$GIT_USER_NAME" +git config --global --add safe.directory /github/workspace echo "Git credentials configured." flatpak remote-add --if-not-exists $INPUT_REPOSITORY_NAME $INPUT_REPOSITORY_URL -vv --ostree-verbose From c53488b4a3dbf179a7472084c5598b89a50d1942 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Tue, 25 Aug 2026 20:19:14 -0700 Subject: [PATCH 2/2] Update entrypoint.sh --- gettext-flatpak/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gettext-flatpak/entrypoint.sh b/gettext-flatpak/entrypoint.sh index d1e75be..1959f0b 100755 --- a/gettext-flatpak/entrypoint.sh +++ b/gettext-flatpak/entrypoint.sh @@ -19,9 +19,9 @@ if [ -z "$GIT_USER_NAME" ]; then GIT_USER_NAME="GitHub Action" fi +git config --global --add safe.directory /github/workspace git config --global user.email "$GIT_USER_EMAIL" git config --global user.name "$GIT_USER_NAME" -git config --global --add safe.directory /github/workspace echo "Git credentials configured." flatpak remote-add --if-not-exists $INPUT_REPOSITORY_NAME $INPUT_REPOSITORY_URL -vv --ostree-verbose