Use GH cli to fetch current issue (#4630)
Attempting to format the env var caused escaping issues
This commit is contained in:
parent
25a2e15ec5
commit
138be0fd73
1 changed files with 4 additions and 2 deletions
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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue