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