| 10 | import * as utils from './utils' |
| 11 | |
| 12 | export interface Inputs { |
| 13 | token: string |
| 14 | branchToken: string |
| 15 | path: string |
| 16 | addPaths: string[] |
| 17 | commitMessage: string |
| 18 | committer: string |
| 19 | author: string |
| 20 | signoff: boolean |
| 21 | branch: string |
| 22 | deleteBranch: boolean |
| 23 | branchSuffix: string |
| 24 | base: string |
| 25 | pushToFork: string |
| 26 | signCommits: boolean |
| 27 | title: string |
| 28 | body: string |
| 29 | bodyPath: string |
| 30 | labels: string[] |
| 31 | assignees: string[] |
| 32 | reviewers: string[] |
| 33 | teamReviewers: string[] |
| 34 | milestone: number |
| 35 | draft: { |
| 36 | value: boolean |
| 37 | always: boolean |
| 38 | } |
| 39 | maintainerCanModify: boolean |
| 40 | } |
| 41 | |
| 42 | export async function createPullRequest(inputs: Inputs): Promise<void> { |
| 43 | let gitConfigHelper, git |
nothing calls this directly
no outgoing calls
no test coverage detected