(branch: string, commitMessage: string, status: string)
| 863 | } |
| 864 | |
| 865 | async createMergeRequest(branch: string, commitMessage: string, status: string) { |
| 866 | await this.requestJSON({ |
| 867 | method: 'POST', |
| 868 | url: `${this.repoURL}/merge_requests`, |
| 869 | params: { |
| 870 | source_branch: branch, |
| 871 | target_branch: this.branch, |
| 872 | title: commitMessage, |
| 873 | description: DEFAULT_PR_BODY, |
| 874 | labels: statusToLabel(status, this.cmsLabelPrefix), |
| 875 | remove_source_branch: true, |
| 876 | squash: this.squashMerges, |
| 877 | }, |
| 878 | }); |
| 879 | } |
| 880 | |
| 881 | async editorialWorkflowGit( |
| 882 | files: (DataFile | AssetProxy)[], |
no test coverage detected