Use GH cli to fetch current issue (#4630)

Attempting to format the env var caused escaping issues
This commit is contained in:
pakrym-oai
2025-10-02 14:43:40 -07:00
committed by GitHub
parent 25a2e15ec5
commit 138be0fd73

View File

@@ -35,8 +35,10 @@ jobs:
| jq '.' \
> "$EXISTING_ISSUES_FILE"
printf '%s' '${{ toJson(github.event.issue) }}' \
| jq '{number, title, body}' \
gh issue view "${{ github.event.issue.number }}" \
--repo "${{ github.repository }}" \
--json number,title,body \
| jq '.' \
> "$CURRENT_ISSUE_FILE"
- id: codex