From ad218c07ec476031cf9928272233a7fcb594b5ac Mon Sep 17 00:00:00 2001 From: Stockboy Steve Date: Sun, 29 Mar 2026 02:52:21 +0000 Subject: [PATCH] fix(ci): fix trigger-uat JSON data construction Use --data-raw with properly formatted multi-line JSON instead of a single-line escaped -d string. This ensures newlines in the description are correctly interpreted. Co-Authored-By: Paperclip --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b363a43..2ee519c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -154,4 +154,11 @@ jobs: -H "Authorization: Bearer ${{ secrets.PAPERCLIP_API_KEY }}" \ -H "Content-Type: application/json" \ "${{ secrets.PAPERCLIP_API_URL }}/api/companies/${{ secrets.PAPERCLIP_COMPANY_ID }}/issues" \ - -d "{\"title\":\"UAT: cartsnitch ${{ needs.build-and-push.outputs.calver_tag }} deployed to dev\",\"description\":\"## UAT Required\\\\n\\\\nService: cartsnitch (frontend)\\\\nImage: ghcr.io/cartsnitch/cartsnitch:${{ needs.build-and-push.outputs.calver_tag }}\\\\nCommit: ${{ github.sha }}\\\\nWorkflow run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\\\\n\\\\nPlease run full regression against cartsnitch.dev.farh.net\",\"status\":\"todo\",\"priority\":\"high\",\"assigneeAgentId\":\"1fc33bd9-308c-4abf-a355-87d12b6b0064\",\"projectId\":\"05f7827d-54df-4ff8-9b27-293ffba6e049\"}" + --data-raw '{ + "title": "UAT: cartsnitch ${{ needs.build-and-push.outputs.calver_tag }} deployed to dev", + "description": "## UAT Required\n\nService: cartsnitch (frontend)\nImage: ghcr.io/cartsnitch/cartsnitch:${{ needs.build-and-push.outputs.calver_tag }}\nCommit: ${{ github.sha }}\nWorkflow run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n\nPlease run full regression against cartsnitch.dev.farh.net", + "status": "todo", + "priority": "high", + "assigneeAgentId": "1fc33bd9-308c-4abf-a355-87d12b6b0064", + "projectId": "05f7827d-54df-4ff8-9b27-293ffba6e049" + }'