Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/actionify/src/deps/octokit-types.ts>PullRequest

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
interface PullRequest
import { type PullRequest } from "https://deno.land/x/actionify@0.3.0/src/deps/octokit-types.ts";

Properties

url: string
id: number
node_id: string
html_url: string
diff_url: string
patch_url: string
issue_url: string
number: number

Number uniquely identifying the pull request within its repository.

state: "open" | "closed"

State of this Pull Request. Either open or closed.

locked: boolean
title: string

The title of the pull request.

user: User
body: string | null
created_at: string
updated_at: string
closed_at: string | null
merged_at: string | null
merge_commit_sha: string | null
assignee: User | null
assignees: User[]
requested_reviewers: (User | Team)[]
requested_teams: Team[]
labels: Label[]
milestone: Milestone | null
commits_url: string
review_comments_url: string
review_comment_url: string
comments_url: string
statuses_url: string
head: { label: string; ref: string; sha: string; user: User; repo: Repository; }
base: { label: string; ref: string; sha: string; user: User; repo: Repository; }
author_association: AuthorAssociation
auto_merge: PullRequestAutoMerge | null
active_lock_reason:
| "resolved"
| "off-topic"
| "too heated"
| "spam"
| null
draft: boolean

Indicates whether or not the pull request is a draft.

merged: boolean | null
mergeable: boolean | null
rebaseable: boolean | null
mergeable_state: string
merged_by: User | null
comments: number
review_comments: number
maintainer_can_modify: boolean

Indicates whether maintainers can modify the pull request.

commits: number
additions: number
deletions: number
changed_files: number