1
2liuqi 2022-06-08 09:36:53 +08:00
写个 webhooks 就行,gitlab 接口很简单
|
2
htc555 2022-06-08 10:27:35 +08:00 1
之前这么写的
curl -X POST -H "Content-Type: application/json" -H "PRIVATE-TOKEN: 访问令牌" -d '{"title": "上线","assignee_id":"用户 id","source_branch": '\"$branch\"',"target_branch":"master","squash":"1"}' http://域名 /api/v4/projects/项目组%2f 项目地址 /merge_requests |