Drone

Cannot activate repo via api

Hi
When i activate repo by owner of it, works well But when i do this with admin machine user, says:
{“message”:“Not Found”}

curl -X POST -d ‘{“active”:“true”}’ http://droneserver.tld/api/repos/jim/coino -H “Authorization: Bearer mU345sadmvOIfdgLOGPqhPTpzgWMtBuICM”

a user must have admin access in github (not in drone) to activate a repository. a machine account therefore cannot activate a repository.

1 Like