Use GH cli to fetch current issue (#4630)
Attempting to format the env var caused escaping issues
This commit is contained in:
6
.github/workflows/issue-deduplicator.yml
vendored
6
.github/workflows/issue-deduplicator.yml
vendored
@@ -35,8 +35,10 @@ jobs:
|
|||||||
| jq '.' \
|
| jq '.' \
|
||||||
> "$EXISTING_ISSUES_FILE"
|
> "$EXISTING_ISSUES_FILE"
|
||||||
|
|
||||||
printf '%s' '${{ toJson(github.event.issue) }}' \
|
gh issue view "${{ github.event.issue.number }}" \
|
||||||
| jq '{number, title, body}' \
|
--repo "${{ github.repository }}" \
|
||||||
|
--json number,title,body \
|
||||||
|
| jq '.' \
|
||||||
> "$CURRENT_ISSUE_FILE"
|
> "$CURRENT_ISSUE_FILE"
|
||||||
|
|
||||||
- id: codex
|
- id: codex
|
||||||
|
|||||||
Reference in New Issue
Block a user