• Optional
branch: string
Default
“main”
• credentials: Credentials
• Optional
description: string
• Optional
fetch: (input
: URL
| RequestInfo
, init?
: RequestInit
) => Promise
<Response
>
▸ (input
, init?
): Promise
<Response
>
Custom fetch function to use instead of the default one, for example to use a proxy or edit headers.
Name | Type |
---|---|
input |
URL | RequestInfo |
init? |
RequestInit |
Promise
<Response
>
• Optional
hubUrl: string
• Optional
isPullRequest: boolean
• operations: CommitOperation
[]
• Optional
parentCommit: string
Parent commit. Optional
• repo: RepoDesignation
• title: string