chore: add warning to notify user that projectid is deprecated
Signed-off-by: djamaile <rdjamaile@gmail.com>
This commit is contained in:
+6
@@ -111,6 +111,12 @@ export const createPublishGitlabMergeRequestAction = (options: {
|
||||
const { host, owner, repo } = parseRepoUrl(repoUrl, integrations);
|
||||
const projectPath = `${owner}/${repo}`;
|
||||
|
||||
if (ctx.input.projectid) {
|
||||
const deprecationWarning = `Property "projectid" is deprecated and no longer to needed to create a MR`;
|
||||
ctx.logger.warn(deprecationWarning);
|
||||
console.warn(deprecationWarning);
|
||||
}
|
||||
|
||||
const integrationConfig = integrations.gitlab.byHost(host);
|
||||
|
||||
const destinationBranch = ctx.input.branchName;
|
||||
|
||||
Reference in New Issue
Block a user