Closed
Description
Describe the bug
$ gh --version
gh version 2.30.0 (2023-05-30)
https://github.com/cli/cli/releases/tag/v2.30.0
when using gh pr list, some PR are not listed while they should.
Here an example resulting in an empty list
$ gh pr list --repo stm32duino/Arduino_Core_STM32 -L 1000 --state all --json "id,number,title,author,state,labels,createdAt,closedAt,updatedAt,url" --search created:2022-10-07..2022-10-12
[]
while a PR should be listed:
$ gh pr view --repo stm32duino/Arduino_Core_STM32 1845 --json "id,number,title,author,state,labels,createdAt,closedAt,updatedAt,url"
{
"author": {
"id": "MDQ6VXNlcjExNzk0NjEx",
"is_bot": false,
"login": "mikaelsundin",
"name": "Mikael Sundin"
},
"closedAt": "2022-10-11T13:52:58Z",
"createdAt": "2022-10-08T20:34:56Z",
"id": "PR_kwDOBWqIu85AcEns",
"labels": [
{
"id": "MDU6TGFiZWw2MDIxNjk4ODE=",
"name": "Enhancement",
"description": "",
"color": "84b6eb"
}
],
"number": 1845,
"state": "MERGED",
"title": "Added F13-F24 to USB HID.",
"updatedAt": "2022-10-11T13:52:58Z",
"url": "https://github.com/stm32duino/Arduino_Core_STM32/pull/1845"
}
It occurs for several PR.
Steps to reproduce the behavior
- gh pr list --repo stm32duino/Arduino_Core_STM32 -L 1000 --state all --json "id,number,title,author,state,labels,createdAt,closedAt,updatedAt,url" --search created:2022-10-07..2022-10-12
- Empty result which is wrong
Expected vs actual behavior
Having the PR listed.
Logs
NA
Metadata
Metadata
Assignees
Labels
Something isn't workingSomething isn't workingProblems with the GitHub platform rather than the CLI clientProblems with the GitHub platform rather than the CLI client