From d0bfe1410eed3eb7139beb53053354742fad0ab2 Mon Sep 17 00:00:00 2001 From: crueter Date: Tue, 11 Nov 2025 23:18:30 -0500 Subject: [PATCH] ? Signed-off-by: crueter --- .github/workflows/translations.yml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index d67f4e3bb1..e8a1a0f675 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -43,22 +43,19 @@ jobs: BODY="Automatic translation update for $(date)" BASE=master HEAD=update-translations-$TIMESTAMP - DATA=$(jq -n \ - --arg base "$BASE" \ - --arg body "$BODY" \ - --arg title "$TITLE" \ - --arg head "$HEAD" \ - '{ - "base": "$base", - "body": "$body", - "head": "$head", - "title": "$title" - }') + cat << EOF > data.json + { + "base": "$BASE", + "body": "$BODY", + "head": "$HEAD", + "title": "$TITLE" + } + EOF curl -X 'POST' \ 'https://git.eden-emu.dev/api/v1/repos/eden-emu/eden/pulls' \ -H 'accept: application/json' \ -H 'Authorization: Bearer ${{ secrets.CI_FJ_TOKEN }}' \ -H 'Content-Type: application/json' \ - -d "$DATA" --fail + -d "@data.json" --fail