Hello,
I am setting up a pipeline where the branch should be merged if the pipeline passes. However, due to using the free tier, this functionality is not available. Therefore, I am attempting to enhance my workflow by adding a curl
command that changes the pull request (PR) title.
Is there an API endpoint available for this purpose?
I checked the GitLab documentation and attempted to use the following curl
command with my access token:
curl --header "PRIVATE-TOKEN: <your_access_token>" \
--url "https://gitlab.example.com/api/v4/projects/1/merge_requests/1/diffs?page=1&per_page=2"
However, I encountered the error message:
(6) Could not resolve host: gitlab.example.com
Thank you!