标签: gitlab gitlab-api
我有所有权限的管理员令牌,但当我尝试通过api创建文件时,我收到此消息:You are not allowed to push into this branch。我检查了这个存储库主分支没有受到保护,我想知道可能是什么情况?
You are not allowed to push into this branch
答案 0 :(得分:0)
I forgot to add Sudo header, which is required when action is done on behalf of user.
Sudo