mirror of
https://github.com/kiegroup/git-backporting.git
synced 2025-06-28 21:53:47 +00:00
feat(issue-17): override backporting pr data (#29)
This commit is contained in:
parent
1732481b37
commit
941beda208
15 changed files with 279 additions and 30 deletions
|
@ -12,7 +12,8 @@ export interface GitPullRequest {
|
|||
targetRepo: GitRepository,
|
||||
sourceRepo: GitRepository,
|
||||
nCommits: number, // number of commits in the pr
|
||||
commits: string[] // merge commit or last one
|
||||
commits: string[], // merge commit or last one
|
||||
branchName?: string,
|
||||
}
|
||||
|
||||
export interface GitRepository {
|
||||
|
@ -28,7 +29,8 @@ export interface BackportPullRequest {
|
|||
base: string, // name of the target branch
|
||||
title: string, // pr title
|
||||
body: string, // pr body
|
||||
reviewers: string[] // pr list of reviewers
|
||||
reviewers: string[], // pr list of reviewers
|
||||
branchName?: string,
|
||||
}
|
||||
|
||||
export enum GitServiceType {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue