-
-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gitlab: Upgrade @gitbeaker/node from ^21.3.0 to ^35.8.1 [platform] GitLab #1406
Conversation
CI failed to due to temporary Yarn failure:
|
I think the key for the
Is that the CLI command which is being called needs the |
Indeed, |
breaking changes. should have written so in the changelog.
|
My fixes: - await gitlab.api.MergeRequests.edit(mr.project_id, mr.iid, { assigneeId: mr.author.id });
+ const assigneeId = Number(mr.author.id);
+ await gitlab.api.MergeRequests.edit(mr.project_id, mr.iid, { assigneeId }); And -import { GitCommitAuthor, GitLabUser } from "danger";
+import { GitCommitAuthor } from "danger";
+import { Types as CoreTypes } from "@gitbeaker/core";
+
+type GitLabUser = Omit<CoreTypes.UserSchema, "created_at">; maybe danger.js should export such |
This is a follow up to #1327 by @ivankatliarchuk
@gitbeaker/rest
(see [DEPS] Move from @gitbeaker/node to @gitbeaker/rest #1386)esModuleInterop
had to be enabled for DTS generation because of: