By using client or api, I reach a 404 while promoting a build.
I found in the code that it is required to be admin to do so.
Is it right? Is there anyway to allow non-admin to promote builds?
a 404 seems not the right code for unauthorized access.
curl -X POST -i https://drone.host.us/api/repos/x/x/builds/6211/promote -H “Authorization: Bearer …”
drone build promote x/x 6211 env