Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Use GH cli to fetch current issue (#4630)

pakrym-oai138be0fd73d8
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