GitHubPullRequestCommit
Defined in: pulls/pulls.ts:94
One commit as returned by GET /pulls/{pull_number}/commits — only the fields any known consumer needs.
Properties
Section titled “Properties”author
Section titled “author”author: {
login:string;type:"User"|"Bot"; } |null
Defined in: pulls/pulls.ts:107
The commit’s linked GitHub account, when GitHub can associate one — null for a commit email with no linked account. type: "Bot" identifies an app-authored commit (e.g. Dependabot, a prior Sentinel auto-fix-commit).
commit
Section titled “commit”commit:
object
Defined in: pulls/pulls.ts:98
The commit’s message and git identities.
author
Section titled “author”author:
GitHubCommitIdentity
The commit’s author, as git recorded it.
committer
Section titled “committer”committer:
GitHubCommitIdentity
The commit’s committer, as git recorded it.
message
Section titled “message”message:
string
The commit message.
parents
Section titled “parents”parents:
object[]
Defined in: pulls/pulls.ts:109
More than one entry marks a merge commit — it has no authorship of its own beyond its parents’, the reason DCO enforcement (and this org’s own CI) never requires a signoff on one.
sha:
string
sha:
string
Defined in: pulls/pulls.ts:96
The commit’s SHA.