Skip to content

Commit 20d3766

Browse files
authored
[Fix]: Use better auth header for GitLab microagent (All-Hands-AI#7828)
1 parent 72b5e18 commit 20d3766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

microagents/knowledge/gitlab.md

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

0 commit comments

Comments
 (0)