Skip to content

Instantly share code, notes, and snippets.

@rr-codes
Created December 17, 2020 19:27
Show Gist options
  • Save rr-codes/157a4c25715a5911f8f5afff2b6799aa to your computer and use it in GitHub Desktop.
Save rr-codes/157a4c25715a5911f8f5afff2b6799aa to your computer and use it in GitHub Desktop.
query IssueComments($owner: String!, $name: String!, $num: Int!) {
rateLimit {
limit
cost
remaining
resetAt
}
repository(owner: $owner, name: $name) {
issue(number: $num) {
timelineItems(last: 10, itemTypes: [ADDED_TO_PROJECT_EVENT, REMOVED_FROM_PROJECT_EVENT, MOVED_COLUMNS_IN_PROJECT_EVENT, RENAMED_TITLE_EVENT]) {
totalCount
filteredCount
edges {
node {
__typename
... on AddedToProjectEvent {
createdAt
databaseId
actor {
avatarUrl
login
}
}
... on RemovedFromProjectEvent {
createdAt
databaseId
actor {
avatarUrl
login
}
}
... on MovedColumnsInProjectEvent {
createdAt
databaseId
actor {
avatarUrl
login
}
}
... on RenamedTitleEvent {
createdAt
previousTitle
currentTitle
actor {
avatarUrl
login
}
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment