fix(github): compact jq output for GITHUB_OUTPUT #139

Merged
lerko merged 1 commits from feat/github-issues-forward into main 2026-06-20 17:00:51 +00:00
Owner

Summary

  • Add -c flag to jq label ID query so output is single-line JSON
  • Compact GH_LABELS before passing as --argjson (multi-line toJSON expansion)

Fixes Error: Invalid format ' 3,' in forward-issues workflow (#138).

Test plan

  • Merge, wait for mirror push
  • Open test issue on GitHub
  • Verify forward-issues workflow passes all steps
## Summary - Add `-c` flag to jq label ID query so output is single-line JSON - Compact `GH_LABELS` before passing as `--argjson` (multi-line `toJSON` expansion) Fixes `Error: Invalid format ' 3,'` in forward-issues workflow (#138). ## Test plan - [x] Merge, wait for mirror push - [x] Open test issue on GitHub - [x] Verify forward-issues workflow passes all steps
lerko added 1 commit 2026-06-20 16:55:20 +00:00
fix(github): compact jq output for GITHUB_OUTPUT compatibility
CI / test (pull_request) Successful in 1m50s
CI / lint (pull_request) Successful in 1m11s
CI / vulncheck (pull_request) Successful in 51s
5ca534b0b1
LABEL_IDS was pretty-printed multi-line JSON, which breaks
GITHUB_OUTPUT's single-line format. Also compact GH_LABELS
before passing as --argjson to avoid multi-line toJSON expansion.
lerko merged commit 5ca534b0b1 into main 2026-06-20 17:00:51 +00:00
lerko deleted branch feat/github-issues-forward 2026-06-20 17:00:51 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lerkolabs/uptop#139