Skip to content

Commit 6c26298

Browse files
authored
Try to merge MR on skipped pipeline (#18)
1 parent 0d52319 commit 6c26298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MergeRequestAcceptor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ export const acceptMergeRequest = async (gitlabApi: GitlabApi, mergeRequest: Mer
219219
};
220220
}
221221

222-
if (currentPipeline.status !== PipelineStatus.Success) {
222+
if (currentPipeline.status !== PipelineStatus.Success && currentPipeline.status !== PipelineStatus.Skipped) {
223223
throw new Error(`Unexpected pipeline status: ${currentPipeline.status}`);
224224
}
225225

0 commit comments

Comments
 (0)