From fe1bb2916835687fee857cd5d89694793ebb12a8 Mon Sep 17 00:00:00 2001 From: Daniel Saeuberli Date: Mon, 14 Sep 2026 13:48:10 +0200 Subject: [PATCH] Fix YAML parsing in the upstream sync workflow --- .github/workflows/sync-from-accelerate.yml | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/sync-from-accelerate.yml b/.github/workflows/sync-from-accelerate.yml index 9301578..c324b4a 100644 --- a/.github/workflows/sync-from-accelerate.yml +++ b/.github/workflows/sync-from-accelerate.yml @@ -113,29 +113,29 @@ jobs: env: GH_TOKEN: ${{ github.token }} run: | - BODY=$(cat < "$BODY_FILE" if NUMBER=$(gh pr view "$SYNC_BRANCH" --json number --jq .number 2>/dev/null); then gh pr edit "$NUMBER" \ --title "Sync from Accelerate upstream" \ - --body "$BODY" + --body-file "$BODY_FILE" else gh pr create \ --base main \ --head "$SYNC_BRANCH" \ --title "Sync from Accelerate upstream" \ - --body "$BODY" + --body-file "$BODY_FILE" fi - name: Close stale synchronization PR when no drift remains