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 '.' \
|
||||
> "$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