Inspired by my project here. What i'm actually looking for is a query to find the actor who closed off an issue. Please help___ Give a description of what your query does. Paste the query here
Get the last person who commented on a closed issue.
Paste the code in graphql explorer and prettify it.
add cursors to get all the closed issues
query($owner: String!, $name: String!) { repository(owner: $owner, name: $name){ issues(states: CLOSED, first:100){ edges{ node{ ... on Issue{ timeline(last: 1){ edges{ node{ __typename ... on ClosedEvent{ actor{ login } } } } } } } } } } }''' variables = { "owner": "tatmush", "name": "Saturday-THORN-Dev-Rank" }