From 1ff80883191ee356d5903bf78b2858adbf9c2899 Mon Sep 17 00:00:00 2001 From: pakrym-oai Date: Thu, 2 Oct 2025 14:41:05 -0700 Subject: [PATCH] Use GH cli to fetch current issue --- .github/workflows/issue-deduplicator.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/issue-deduplicator.yml b/.github/workflows/issue-deduplicator.yml index 05453450e4..e729415c4e 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