(branch: string, commitMessage: string, status: string)
| 872 | } |
| 873 | |
| 874 | async createMergeRequest(branch: string, commitMessage: string, status: string) { |
| 875 | await this.requestJSON({ |
| 876 | method: 'POST', |
| 877 | url: `${this.repoURL}/merge_requests`, |
| 878 | params: { |
| 879 | source_branch: branch, |
| 880 | target_branch: this.branch, |
| 881 | title: commitMessage, |
| 882 | description: DEFAULT_PR_BODY, |
| 883 | labels: statusToLabel(status, this.cmsLabelPrefix), |
| 884 | remove_source_branch: true, |
| 885 | squash: this.squashMerges, |
| 886 | }, |
| 887 | }); |
| 888 | } |
| 889 | |
| 890 | async editorialWorkflowGit( |
| 891 | files: (DataFile | AssetProxy)[], |
no test coverage detected