[Fix]: Use better auth header for GitLab microagent (#7828)

This commit is contained in:
Rohit Malhotra
2025-04-11 20:09:28 -04:00
committed by GitHub
parent 72b5e18898
commit 20d3766451

View File

@@ -30,6 +30,6 @@ Here are some instructions for pushing, but ONLY do this if the user asks you to
git remote -v && git branch # to find the current org, repo and branch
git checkout -b create-widget && git add . && git commit -m "Create widget" && git push -u origin create-widget
curl -X POST "https://gitlab.com/api/v4/projects/$PROJECT_ID/merge_requests" \
-H "PRIVATE-TOKEN: $GITLAB_TOKEN" \
-H "Authorization: Bearer $GITLAB_TOKEN" \
-d '{"source_branch": "create-widget", "target_branch": "openhands-workspace", "title": "Create widget"}'
```