mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
Use GH cli to fetch current issue (#4630)
Attempting to format the env var caused escaping issues
This commit is contained in:
committed by
GitHub
Unverified
parent
25a2e15ec5
commit
138be0fd73
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user