-
-
Notifications
You must be signed in to change notification settings - Fork 36
Merge Sha #366
Copy link
Copy link
Open
Description
This graphQL query gets the merge commit sha, which is what github uses internally on PRs. Would be nice if this was available to keep things consistent.
{
viewer {
login
}
repository(name: "dbt", owner: "vidahealth") {
pullRequest(number: 1843) {
potentialMergeCommit {
oid
}
}
}
}
This sha is useful for file diffs with out having to retrieving an extended git commit history.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels