1

How can I create a merge request from GitLab CI?

I could try to call the API, but I read that there is no write access unless you add a personal token.

Any other way to do this?

1
  • 1
    You can also get a project access token. Commented Apr 5, 2022 at 9:07

1 Answer 1

1

Personal token should be the preferred way of doing it.

As it will be needed to imitate you to create the merge request and perform any action.

Sign up to request clarification or add additional context in comments.

2 Comments

So a personal access token of the admin account?
There is project specific access token. docs.gitlab.com/ee/user/profile/personal_access_tokens.html You may have a specific token, dedicated for a particular project

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.