Skip to content

Instantly share code, notes, and snippets.

@gh-mlfowler
Created April 28, 2021 21:51
Show Gist options
  • Save gh-mlfowler/c27ea53ecd630cc7b34c29d21becd750 to your computer and use it in GitHub Desktop.
Save gh-mlfowler/c27ea53ecd630cc7b34c29d21becd750 to your computer and use it in GitHub Desktop.
{
repository(name: "spinnaker", owner: "spinnaker") {
r1: ref(qualifiedName: "master") {
target {
...commitsInRef
}
}
r2: ref(qualifiedName: "create-pull-request/patch") {
target {
...commitsInRef
}
}
}
}
fragment commitsInRef on Commit {
history(first: 1) {
edges {
node {
committedDate
}
}
totalCount
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment