fix(ci): use single-line description in create-pr action #12

Merged
neerdoc merged 1 commit from fix/ci-gate-checkoff--pr-description into main 2026-05-31 13:25:26 +00:00
Owner
  • gate-checkoff.yaml: collapse multiline description to single line

The create-pr action interpolates inputs into a JSON body via string
concatenation. A YAML literal block expands to literal newlines inside
the JSON string, making it invalid — Forgejo returns 422. Single-line
description fixes this.

Root cause confirmed by test: PR creation with clean JSON body returned
201; CI run with multiline body returned 422.

- gate-checkoff.yaml: collapse multiline description to single line The create-pr action interpolates inputs into a JSON body via string concatenation. A YAML literal block expands to literal newlines inside the JSON string, making it invalid — Forgejo returns 422. Single-line description fixes this. Root cause confirmed by test: PR creation with clean JSON body returned 201; CI run with multiline body returned 422.
fix(ci): use single-line description in create-pr action
All checks were successful
Gate Check-off / checkoff (pull_request) Successful in 4s
Milestone Sync / sync (pull_request) Successful in 25s
c01d5475ae
The create-pr action builds the JSON body via string interpolation, not
jq. A YAML literal block (|) expands to literal newlines inside the JSON
string value, producing invalid JSON — Forgejo returns 422. Use a
single-line description to avoid the issue.

Milestone Progress

Phase gate checklist status:

  • Phase 0 — Prior Art Analysis: 6/6 items
  • Phase 1 — Core Domain Model: 0/12 items
  • Phase 2 — REST API + AuthN/AuthZ: 0/10 items
  • Phase 3 — BOM Management: 0/9 items
  • Phase 4 — ECO/ECR Workflow Engine: 0/9 items
  • Phase 5 — UI (htmx): 0/8 items
### Milestone Progress Phase gate checklist status: - [x] **Phase 0 — Prior Art Analysis**: 6/6 items - [ ] **Phase 1 — Core Domain Model**: 0/12 items - [ ] **Phase 2 — REST API + AuthN/AuthZ**: 0/10 items - [ ] **Phase 3 — BOM Management**: 0/9 items - [ ] **Phase 4 — ECO/ECR Workflow Engine**: 0/9 items - [ ] **Phase 5 — UI (htmx)**: 0/8 items
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
WulfScience-FOSS/patina!12
No description provided.