Skip to content

Commit

Permalink
Adding skipci type for rebase (#3552)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalrymple authored Mar 8, 2024
1 parent eef6fd0 commit 0df3051
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/core/src/resources/MergeRequests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -510,12 +510,15 @@ export class MergeRequests<C extends boolean = false> extends BaseResource<C> {
rebase<E extends boolean = false>(
projectId: string | number,
mergerequestIId: number,
options?: Sudo & ShowExpanded<E>,
{ skipCI, ...options }: { skipCI?: boolean } & Sudo & ShowExpanded<E> = {},
): Promise<GitlabAPIResponse<MergeRequestRebaseSchema, C, E, void>> {
return RequestHelper.put<MergeRequestRebaseSchema>()(
this,
endpoint`projects/${projectId}/merge_requests/${mergerequestIId}/rebase`,
options,
{
...options,
skipCi: skipCI,
},
);
}

Expand Down

0 comments on commit 0df3051

Please sign in to comment.