summaryrefslogtreecommitdiff
path: root/source/features/repo-age.gql
blob: fc92fbb28ac1503be7b98290bccad1cc501cb281 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
query GetRepoAge($owner: String!, $name: String!, $cursor: String!) {
	repository(owner: $owner, name: $name) {
		defaultBranchRef {
			target {
				... on Commit {
					history(first: 5, after: $cursor) {
						nodes {
							committedDate
							resourcePath
						}
					}
				}
			}
		}
	}
}