diff --git a/.github/workflows/issue-deduplicator.yml b/.github/workflows/issue-deduplicator.yml index 05453450..e729415c 100644 --- a/.github/workflows/issue-deduplicator.yml +++ b/.github/workflows/issue-deduplicator.yml @@ -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