forked from cli/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request cli#624 from rista404/pr-state-merged-closed-613
Show state instead of checks/reviews for closed/merged PRs
- Loading branch information
Showing
4 changed files
with
129 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"data": { | ||
"repository": { | ||
"pullRequests": { | ||
"totalCount": 1, | ||
"edges": [ | ||
{ | ||
"node": { | ||
"number": 8, | ||
"title": "Blueberries are a good fruit", | ||
"state": "OPEN", | ||
"url": "https://github.com/cli/cli/pull/8", | ||
"headRefName": "blueberries", | ||
"reviewDecision": "CHANGES_REQUESTED", | ||
"commits": { | ||
"nodes": [ | ||
{ | ||
"commit": { | ||
"statusCheckRollup": { | ||
"contexts": { | ||
"nodes": [ | ||
{ | ||
"state": "SUCCESS" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"viewerCreated": { | ||
"totalCount": 1, | ||
"edges": [ | ||
{ | ||
"node": { | ||
"number": 8, | ||
"state": "CLOSED", | ||
"title": "Strawberries are not actually berries", | ||
"url": "https://github.com/cli/cli/pull/8", | ||
"headRefName": "strawberries" | ||
} | ||
}, | ||
{ | ||
"node": { | ||
"number": 8, | ||
"state": "MERGED", | ||
"title": "Bananas are berries", | ||
"url": "https://github.com/cli/cli/pull/8", | ||
"headRefName": "banananana" | ||
} | ||
} | ||
] | ||
}, | ||
"reviewRequested": { | ||
"totalCount": 0, | ||
"edges": [] | ||
} | ||
} | ||
} | ||
|